RandomExtended Members

The RandomExtended type exposes the following members.

Constructors


  Name Description
Public method RandomExtended()()()()
Initializes a new instance of the RandomExtended class.
Public method RandomExtended(Int32)
Initializes a new instance of the RandomExtended class.

Methods


  Name Description
Public method Choose<(Of <<'(T>)>>)(IReadOnlyList<(Of <<'(T>)>>))
Choose one item from the list, leaving the original list unaltered.
Public method Choose<(Of <<'(T>)>>)(IReadOnlyList<(Of <<'(T>)>>), Int32, Boolean)
Choose count items from the list, leaving the original list unaltered.
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method NextDateTime(DateTime, DateTime)
Returns a random date/time that is within the indicated time span.
Public method NextDateTime(DateTime, TimeSpan)
Returns a random date/time that is within the indicated time span.
Public method NextDateTimeOffset(DateTimeOffset, TimeSpan)
Returns a random date/time that is within the indicated time span.
Public method NextDateTimeOffset(DateTimeOffset, DateTimeOffset)
Returns a random date/time that is within the indicated range.
Public method NextDecimal(Decimal)
Returns a random decimal that is less than maxValue
Public method NextDecimal(Decimal, Decimal)
Returns a random decimal that is within the indicated range
Public method Pick<(Of <<'(T>)>>)(IList<(Of <<'(T>)>>))
Pick and remove one item from the list.
Public method Pick<(Of <<'(T>)>>)(IList<(Of <<'(T>)>>), Int32)
Pick and remove count items from the list.
Public method ToString (Inherited from Object.)