C# Class GSF.IO.FileProcessor.EnumerableWrapper

Inheritance: IDisposable
显示文件 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
Dispose ( ) : void

Releases all the resources used by the enumerable.

EnumerableWrapper ( IEnumerable enumerable, GSF.Threading.CancellationToken cancellationToken ) : System

Creates a new instance of the EnumerableWrapper class.

MoveNext ( ) : bool

Advances the enumerator to the next element of the collection.

Method Details

Dispose() public method

Releases all the resources used by the enumerable.
public Dispose ( ) : void
return void

EnumerableWrapper() public method

Creates a new instance of the EnumerableWrapper class.
public EnumerableWrapper ( IEnumerable enumerable, GSF.Threading.CancellationToken cancellationToken ) : System
enumerable IEnumerable The enumerable to be wrapped.
cancellationToken GSF.Threading.CancellationToken The token used to cancel the enumeration operation.
return System

MoveNext() public method

Advances the enumerator to the next element of the collection.
public MoveNext ( ) : bool
return bool