C# Class Raven.Studio.Commands.ExportDocumentDetailsCommand.Exporter

Show file Open project: robashton/ravendb

Public Methods

Method Description
ExportAsync ( CancellationToken cancellationToken, Action reportProgress ) : Task
Exporter ( Stream stream, DocumentsVirtualCollectionSourceBase collectionSource, IList columns ) : System

Private Methods

Method Description
GetNextBatch ( IAsyncEnumerator documentsStream, CancellationToken token ) : Task>
WriteColumnsForDocuments ( Kent.Boogaart.KBCsv.CsvWriter writer, IEnumerable documents, Raven.Studio.Features.Documents.DocumentColumnsExtractor extractor ) : void

Method Details

ExportAsync() public method

public ExportAsync ( CancellationToken cancellationToken, Action reportProgress ) : Task
cancellationToken System.Threading.CancellationToken
reportProgress Action
return Task

Exporter() public method

public Exporter ( Stream stream, DocumentsVirtualCollectionSourceBase collectionSource, IList columns ) : System
stream Stream
collectionSource DocumentsVirtualCollectionSourceBase
columns IList
return System