C# Class Common.Shared.BulkDataSource

Show file Open project: Azure-Samples/service-fabric-dotnet-data-streaming-websockets Class Usage Examples

Public Methods

Method Description
ReadAllProducts ( ) : IEnumerable

Reads all products from the baked in CSV file

ReadProducts ( int lowId, int highId ) : IEnumerable

Reads products from low Id to high Id from the baked in CSV file

Private Methods

Method Description
GetCsvStream ( string fileName ) : Stream
ReadAllCsv ( string fileName ) : IEnumerable

Method Details

ReadAllProducts() public method

Reads all products from the baked in CSV file
public ReadAllProducts ( ) : IEnumerable
return IEnumerable

ReadProducts() public method

Reads products from low Id to high Id from the baked in CSV file
public ReadProducts ( int lowId, int highId ) : IEnumerable
lowId int
highId int
return IEnumerable