Lean  $LEAN_TAG$
QuantConnect.ToolBox.IStreamProvider Interface Reference

Defines how to open/close a source file More...

Inheritance diagram for QuantConnect.ToolBox.IStreamProvider:
[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...
 

Detailed Description

Defines how to open/close a source file

Definition at line 25 of file IStreamProvider.cs.

Member Function Documentation

◆ Open()

IEnumerable<Stream> QuantConnect.ToolBox.IStreamProvider.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

Implemented in QuantConnect.ToolBox.ZipStreamProvider, QuantConnect.ToolBox.FileStreamProvider, QuantConnect.ToolBox.GzipStreamProvider, and QuantConnect.ToolBox.Bz2StreamProvider.

Here is the caller graph for this function:

◆ Close()

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

Closes the specified source file stream

Parameters
sourceThe source file to be closed

Implemented in QuantConnect.ToolBox.ZipStreamProvider, QuantConnect.ToolBox.GzipStreamProvider, QuantConnect.ToolBox.FileStreamProvider, and QuantConnect.ToolBox.Bz2StreamProvider.


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