Lean  $LEAN_TAG$
QuantConnect.ToolBox.ZipStreamProvider Class Reference

Provides an implementation of IStreamProvider that opens zip files More...

Inheritance diagram for QuantConnect.ToolBox.ZipStreamProvider:
[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 opens zip files

Definition at line 26 of file ZipStreamProvider.cs.

Member Function Documentation

◆ Open()

IEnumerable<Stream> QuantConnect.ToolBox.ZipStreamProvider.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 36 of file ZipStreamProvider.cs.

◆ Close()

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

Closes the specified source file stream

Parameters
sourceThe source file to be closed

Implements QuantConnect.ToolBox.IStreamProvider.

Definition at line 53 of file ZipStreamProvider.cs.

◆ Dispose()

void QuantConnect.ToolBox.ZipStreamProvider.Dispose ( )

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

Definition at line 69 of file ZipStreamProvider.cs.


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