• 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

SystemRandom クラス

System.RandomをIRandomにラップします。 このクラスは継承できません。

継承
System.Object
SerializableRandom
SystemRandom
実装
IRandom
System.Runtime.Serialization.ISerializable
継承されたメンバー
SerializableRandom.CanGetSeed
SerializableRandom.GetObjectData(SerializationInfo, StreamingContext)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
名前空間: ExapisSOP.Numerics
アセンブリ: ExapisSOP.Utils.dll
構文
[Serializable]
public sealed class SystemRandom : SerializableRandom, IRandom, ISerializable

コンストラクタ 一覧

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

SystemRandom()

型'SystemRandom'の新しいインスタンスを生成します。

宣言
public SystemRandom()
| 編集/提案 ソースを表示

SystemRandom(Int32)

型'SystemRandom'の新しいインスタンスを生成します。

宣言
public SystemRandom(int seed)
引数
型 名前 説明
System.Int32 seed

シード値です。

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

SystemRandom(Random)

型'SystemRandom'の新しいインスタンスを生成します。

宣言
public SystemRandom(Random rnd)
引数
型 名前 説明
System.Random rnd

ラップするSystem.Randomオブジェクトです。

例外
型 条件
System.ArgumentNullException

プロパティ 一覧

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

Seed

シード値を取得します。

宣言
public override long Seed { get; protected set; }
プロパティ値
型 説明
System.Int64
上書き
SerializableRandom.Seed
例外
型 条件
System.InvalidOperationException

メソッド 一覧

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

NextBytes(Int32)

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

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

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

戻り値
型 説明
System.Byte[]

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

上書き
SerializableRandom.NextBytes(Int32)
例外
型 条件
System.ArgumentOutOfRangeException
| 編集/提案 ソースを表示

NextDouble()

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

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

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

上書き
SerializableRandom.NextDouble()
| 編集/提案 ソースを表示

NextSInt64()

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

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

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

上書き
SerializableRandom.NextSInt64()

実装

IRandom
System.Runtime.Serialization.ISerializable

拡張関数 一覧

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