C# Class Foobricator.Sources.ListSampler

Pulls a random value from a list
Inheritance: ISource, IDebugInfoProvider
Mostra file Open project: geoffles/Foobricator

Public Methods

Method Description
GetItem ( ) : object

Gets a single item from the ListItems. From Foobricator.Sources.ISource

ListSampler ( DataReference reference ) : System.Collections.Generic

Initialise against a Foobricator.Tools.DataReference

ListSampler ( IList listItems ) : System.Collections.Generic

Initialise against a list

Method Details

GetItem() public method

Gets a single item from the ListItems. From Foobricator.Sources.ISource
public GetItem ( ) : object
return object

ListSampler() public method

Initialise against a Foobricator.Tools.DataReference
public ListSampler ( DataReference reference ) : System.Collections.Generic
reference Foobricator.Tools.DataReference
return System.Collections.Generic

ListSampler() public method

Initialise against a list
public ListSampler ( IList listItems ) : System.Collections.Generic
listItems IList
return System.Collections.Generic