Lean  $LEAN_TAG$
QuantConnect.Util.StreamReaderEnumerable Class Reference

Converts a StreamReader into an enumerable of string More...

Inheritance diagram for QuantConnect.Util.StreamReaderEnumerable:
[legend]

Public Member Functions

 StreamReaderEnumerable (Stream stream, params IDisposable[] disposables)
 Initializes a new instance of the StreamReaderEnumerable class More...
 
 StreamReaderEnumerable (StreamReader reader, params IDisposable[] disposables)
 Initializes a new instance of the StreamReaderEnumerable class More...
 
IEnumerator< string > GetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Detailed Description

Converts a StreamReader into an enumerable of string

Definition at line 27 of file StreamReaderEnumerable.cs.

Constructor & Destructor Documentation

◆ StreamReaderEnumerable() [1/2]

QuantConnect.Util.StreamReaderEnumerable.StreamReaderEnumerable ( Stream  stream,
params IDisposable[]  disposables 
)

Initializes a new instance of the StreamReaderEnumerable class

Parameters
streamThe stream to be read
disposablesAllows specifying other resources that should be disposed when this instance is disposed

Definition at line 39 of file StreamReaderEnumerable.cs.

◆ StreamReaderEnumerable() [2/2]

QuantConnect.Util.StreamReaderEnumerable.StreamReaderEnumerable ( StreamReader  reader,
params IDisposable[]  disposables 
)

Initializes a new instance of the StreamReaderEnumerable class

Parameters
readerThe stream reader instance to convert to an enumerable of string
disposablesAllows specifying other resources that should be disposed when this instance is disposed

Definition at line 54 of file StreamReaderEnumerable.cs.

Member Function Documentation

◆ GetEnumerator()

IEnumerator<string> QuantConnect.Util.StreamReaderEnumerable.GetEnumerator ( )

Returns an enumerator that iterates through the collection.

Returns
A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.

<filterpriority>1</filterpriority>

Definition at line 63 of file StreamReaderEnumerable.cs.

◆ Dispose()

void QuantConnect.Util.StreamReaderEnumerable.Dispose ( )

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

<filterpriority>2</filterpriority>

Definition at line 84 of file StreamReaderEnumerable.cs.


The documentation for this class was generated from the following file: