Class Randomization
Represents the randomization settings for the items in a list. If randomization is enabled, it may be required to randomize only the first N items in the list.
public class Randomization
- Inheritance
-
Randomization
- Inherited Members
- Extension Methods
Constructors
Randomization()
public Randomization()
Properties
Count
If Enabled = True then the Count indicates the number of items in the list to randomize. A value of zero is used to specify that all items should be randomized. If Count is greater than zero and less than the number of items in the list then the first N items are randomized, and items N+1 to List.Count remain in their existing sequence.
public int Count { get; set; }
Property Value
Enabled
Indicates randomization is enabled or disabled.
public bool Enabled { get; set; }
Property Value
Methods
Clone()
public Randomization Clone()
Returns
Copy(Randomization)
public void Copy(Randomization source)
Parameters
sourceRandomization
Equals(Randomization)
public bool Equals(Randomization other)
Parameters
otherRandomization