Lean
$LEAN_TAG$
|
Defines an enumerable that can be enumerated many times while only performing a single enumeration of the root enumerable More...
Public Member Functions | |
MemoizingEnumerable (IEnumerable< T > enumerable) | |
Initializes a new instance of the MemoizingEnumerable<T> class More... | |
IEnumerator< T > | GetEnumerator () |
Returns an enumerator that iterates through the collection. More... | |
Properties | |
bool | Enabled [get, set] |
Allow disableing the buffering More... | |
Defines an enumerable that can be enumerated many times while only performing a single enumeration of the root enumerable
T |
Definition at line 27 of file MemoizingEnumerable.cs.
QuantConnect.Util.MemoizingEnumerable< T >.MemoizingEnumerable | ( | IEnumerable< T > | enumerable | ) |
Initializes a new instance of the MemoizingEnumerable<T> class
enumerable | The source enumerable to be memoized |
Definition at line 42 of file MemoizingEnumerable.cs.
IEnumerator<T> QuantConnect.Util.MemoizingEnumerable< T >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through the collection.
<filterpriority>1</filterpriority>
Definition at line 55 of file MemoizingEnumerable.cs.
|
getset |
Allow disableing the buffering
Should be called before the enumeration starts
Definition at line 36 of file MemoizingEnumerable.cs.