Table of Contents

Class Randomization

Namespace
InSite.Domain.Banks
Assembly
Shift.Sdk.dll

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

int

Enabled

Indicates randomization is enabled or disabled.

public bool Enabled { get; set; }

Property Value

bool

Methods

Clone()

public Randomization Clone()

Returns

Randomization

Copy(Randomization)

public void Copy(Randomization source)

Parameters

source Randomization

Equals(Randomization)

public bool Equals(Randomization other)

Parameters

other Randomization

Returns

bool