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
Afficher le fichier Open project: geoffles/Foobricator Class Usage Examples

Méthodes publiques

Свойство Type Description
Scope string
Sources IList

Méthodes publiques

Méthode 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

Méthode Description
GetItems ( object p ) : object

Method Details

Dispose() public méthode

Remove this iterator from the list of iterables
public Dispose ( ) : void
Résultat void

GetItem() public méthode

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

Iterator() public méthode

Initialise
public Iterator ( IList sources, string scope ) : System
sources IList
scope string
Résultat System

Next() public méthode

Capture the next value
public Next ( ) : void
Résultat void

NextAll() public static méthode

Reevaluate all iterables in a matching scope
public static NextAll ( string scope ) : void
scope string
Résultat void

Property Details

Scope public_oe property

Iteration scope
public string Scope
Résultat string

Sources public_oe property

The sources for this iterator
public IList Sources
Résultat IList