Lean  $LEAN_TAG$
QuantConnect.ToolBox.FileStreamProvider Class Reference

Provides an implementation of IStreamProvider that just returns a file stream More...

Inheritance diagram for QuantConnect.ToolBox.FileStreamProvider:
[legend]

Public Member Functions

IEnumerable< Stream > Open (string source)
 Opens the specified source as read to be consumed stream More...
 
void Close (string source)
 Closes the specified source file stream More...
 
void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More...
 

Detailed Description

Provides an implementation of IStreamProvider that just returns a file stream

Definition at line 24 of file FileStreamProvider.cs.

Member Function Documentation

◆ Open()

IEnumerable<Stream> QuantConnect.ToolBox.FileStreamProvider.Open ( string  source)

Opens the specified source as read to be consumed stream

Parameters
sourceThe source file to be opened
Returns
The stream representing the specified source

Implements QuantConnect.ToolBox.IStreamProvider.

Definition at line 33 of file FileStreamProvider.cs.

◆ Close()

void QuantConnect.ToolBox.FileStreamProvider.Close ( string  source)

Closes the specified source file stream

Parameters
sourceThe source file to be closed

Implements QuantConnect.ToolBox.IStreamProvider.

Definition at line 42 of file FileStreamProvider.cs.

◆ Dispose()

void QuantConnect.ToolBox.FileStreamProvider.Dispose ( )

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

Definition at line 54 of file FileStreamProvider.cs.


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