C# Класс Foobricator.Sources.Iterator

Value capture iterator
This allows you to capture random values and reuse them, until you wish to reevaluate the sources.
Наследование: ISource, IDebugInfoProvider, IIterable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Scope string
Sources IList

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetItems ( object p ) : object

Описание методов

Dispose() публичный Метод

Remove this iterator from the list of iterables
public Dispose ( ) : void
Результат void

GetItem() публичный Метод

Returns all items in the iterator. From Foobricator.Sources.ISource
public GetItem ( ) : object
Результат object

Iterator() публичный Метод

Initialise
public Iterator ( IList sources, string scope ) : System
sources IList
scope string
Результат System

Next() публичный Метод

Capture the next value
public Next ( ) : void
Результат void

NextAll() публичный статический Метод

Reevaluate all iterables in a matching scope
public static NextAll ( string scope ) : void
scope string
Результат void

Описание свойств

Scope публичное свойство

Iteration scope
public string Scope
Результат string

Sources публичное свойство

The sources for this iterator
public IList Sources
Результат IList