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)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Inherited from Object.)