C# Class Foobricator.Sources.Iterator

Value capture iterator
This allows you to capture random values and reuse them, until you wish to reevaluate the sources.
Inheritance: ISource, IDebugInfoProvider, IIterable
显示文件 Open project: geoffles/Foobricator Class Usage Examples

Public Properties

Property Type Description
Scope string
Sources IList

Public Methods

Method Description
Dispose ( ) : void

Remove this iterator from the list of iterables

GetItem ( ) : object

Returns all items in the iterator. From Foobricator.Sources.ISource

Iterator ( IList sources, string scope ) : System

Initialise

Next ( ) : void

Capture the next value

NextAll ( string scope ) : void

Reevaluate all iterables in a matching scope

Private Methods

Method Description
GetItems ( object p ) : object

Method Details

Dispose() public method

Remove this iterator from the list of iterables
public Dispose ( ) : void
return void

GetItem() public method

Returns all items in the iterator. From Foobricator.Sources.ISource
public GetItem ( ) : object
return object

Iterator() public method

Initialise
public Iterator ( IList sources, string scope ) : System
sources IList
scope string
return System

Next() public method

Capture the next value
public Next ( ) : void
return void

NextAll() public static method

Reevaluate all iterables in a matching scope
public static NextAll ( string scope ) : void
scope string
return void

Property Details

Scope public_oe property

Iteration scope
public string Scope
return string

Sources public_oe property

The sources for this iterator
public IList Sources
return IList