• APIブラウザ
  • 設計思想
Show / Hide Table of Contents
  • ExapisSOP
    • AppWorker
    • ContextEventArgs
    • HostRunner
    • IConfiguration
    • IContext
    • IPipeline
    • IProcess
    • IProcess<TParam, TResult>
    • IService
    • TerminationEventArgs
    • TerminationException
    • TerminationReason
    • UnhandledErrorEventArgs
    • VersionInfo
  • ExapisSOP.Binary
    • DataValue
  • ExapisSOP.Core
    • ConfigurationExtensions
    • ContextExtensions
    • CustomPipelineProcess<TParam, TResult>
    • ImmutablePipeline
    • Pipeline
    • PipelineExtensions
    • PipelineExtensions.ExceptionHandler
    • PipelineExtensions.ExceptionHandler<TParam, TResult>
    • PipelineExtensions.LoggingProcess
    • PipelineExtensions.NextProcessFunc
    • PipelineExtensions.ProcessFunc
    • PipelineExtensions.ProcessFunc<TParam, TResult>
    • PipelineExtensions.ProcessFuncWrapper
    • PipelineExtensions.ProcessFuncWrapper<TParam, TResult>
  • ExapisSOP.Globalization
    • EnglishErrorReportBuilder
    • JapaneseErrorReportBuilder
  • ExapisSOP.IO
    • CachedStream
    • DefaultPath
    • FileSystemServiceOptions
    • FileSystemServiceOptionsExtensions
    • IFileSystemService
    • InvalidPathFormatException
    • IPathList
    • Paths
    • PathString
    • PathStringFormatter
  • ExapisSOP.IO.Logging
    • ConsoleLogger
    • DefaultErrorDetailProvider
    • ErrorReportBuilder
    • ExceptionRecord
    • HResultDetailProvider
    • ICustomErrorDetailProvider
    • ILogFile
    • ILoggable
    • ILogger
    • ILoggingSystemService
    • LogData
    • LogFile
    • LogFileType
    • Logger
    • LoggerExtension
    • LoggingSystemServiceOptions
    • LoggingSystemServiceOptions.CreateLogFile
    • LogLevel
    • LongMessageRecord
    • MultipleLogger
    • OutputStreamLogger
  • ExapisSOP.IO.Settings
    • CustomSettings
    • DataStore
    • DefaultSettings
    • EnvironmentSettings
    • ISettingsSystemService
    • OptimizedSettings
    • SettingsSystemServiceOptions
    • SettingsSystemServiceOptions.ConfirmVersionInfo
    • SettingsSystemServiceOptions.GetVersionInfo
  • ExapisSOP.IO.Settings.CommandLine
    • CommandLineConverter
    • CommandLineParser
    • CommandLineServiceOptions
    • CommandLineServiceOptions.CreateConverterMappingTable
    • FileNameList
    • IArgumentConverter
    • IArgumentConverter<T>
    • ICommandLineService
    • ManualAttribute
    • Option
    • Option.Value
    • OptionAttribute
    • Switch
    • SwitchAttribute
  • ExapisSOP.NativeWrapper
    • INativeCaller
    • WinAPI
  • ExapisSOP.NativeWrapper.Windows
    • Kernel32
  • ExapisSOP.Numerics
    • CryptionRandom
    • IRandom
    • LinearCongruentialGenerator
    • RandomExtension
    • SerializableRandom
    • SystemRandom
    • Xorshift
    • Xorshift2
  • ExapisSOP.Text
    • SimpleEncoding
    • SimpleString
  • ExapisSOP.Utils
    • ArrayExtensions
    • ConsoleUtil
    • DisposableBase
    • IAwaitable<T>
    • IAwaiter<T>
    • IUtilityService
    • SecureStringExtensions
    • SerializationInfoExtensions
    • StringExtensions
    • StringUtil
    • UtilityConfigurationExtensions
    • UtilityContextExtensions

IRandom インターフェース

疑似乱数を生成する機能を提供します。

名前空間: ExapisSOP.Numerics
アセンブリ: ExapisSOP.Utils.dll
構文
public interface IRandom

プロパティ 一覧

| 編集/提案 ソースを表示

Seed

シード値を取得します。

宣言
long Seed { get; }
プロパティ値
型 説明
System.Int64
例外
型 条件
System.InvalidOperationException

メソッド 一覧

| 編集/提案 ソースを表示

NextBytes(Int32)

8ビット符号無し整数値を指定された数だけ生成します。

宣言
byte[] NextBytes(int count)
引数
型 名前 説明
System.Int32 count

生成する乱数値の個数です。

戻り値
型 説明
System.Byte[]

結果の分からない値を返します。

例外
型 条件
System.ArgumentOutOfRangeException
| 編集/提案 ソースを表示

NextDouble()

倍精度浮動小数点数値を0~1の範囲で生成します。

宣言
double NextDouble()
戻り値
型 説明
System.Double

結果の分からない値を返します。

| 編集/提案 ソースを表示

NextSInt64()

64ビット符号付き整数値を生成します。

宣言
long NextSInt64()
戻り値
型 説明
System.Int64

結果の分からない値を返します。

拡張関数 一覧

RandomExtension.NextUInt8(IRandom)
RandomExtension.NextUInt16(IRandom)
RandomExtension.NextUInt32(IRandom)
RandomExtension.NextUInt64(IRandom)
RandomExtension.NextSInt8(IRandom)
RandomExtension.NextSInt16(IRandom)
RandomExtension.NextSInt32(IRandom)
RandomExtension.NextSingle(IRandom)
RandomExtension.NextDecimal(IRandom)
RandomExtension.NextUInt8(IRandom, Byte)
RandomExtension.NextUInt16(IRandom, UInt16)
RandomExtension.NextUInt32(IRandom, UInt32)
RandomExtension.NextUInt64(IRandom, UInt64)
RandomExtension.NextSInt8(IRandom, SByte)
RandomExtension.NextSInt16(IRandom, Int16)
RandomExtension.NextSInt32(IRandom, Int32)
RandomExtension.NextSInt64(IRandom, Int64)
RandomExtension.NextSingle(IRandom, Single)
RandomExtension.NextDouble(IRandom, Double)
RandomExtension.NextDecimal(IRandom, Decimal)
RandomExtension.NextUInt8(IRandom, Byte, Byte)
RandomExtension.NextUInt16(IRandom, UInt16, UInt16)
RandomExtension.NextUInt32(IRandom, UInt32, UInt32)
RandomExtension.NextUInt64(IRandom, UInt64, UInt64)
RandomExtension.NextSInt8(IRandom, SByte, SByte)
RandomExtension.NextSInt16(IRandom, Int16, Int16)
RandomExtension.NextSInt32(IRandom, Int32, Int32)
RandomExtension.NextSInt64(IRandom, Int64, Int64)
RandomExtension.NextSingle(IRandom, Single, Single)
RandomExtension.NextDouble(IRandom, Double, Double)
RandomExtension.NextDecimal(IRandom, Decimal, Decimal)
  • 編集/提案
  • ソースを表示
Back to top Generated by DocFX