C# Class PowerArgs.Cli.LoadMoreDataSource

Inheritance: CollectionDataSource
Show file Open project: adamabdelhamed/PowerArgs

Public Methods

Method Description
ClearCachedData ( ) : void
GetDataView ( CollectionQuery query ) : CollectionDataView
GetHighestKnownIndex ( CollectionQuery query ) : int
HasAllDataBeenLoaded ( CollectionQuery query ) : bool
LoadMoreDataSource ( CliMessagePump pump ) : System

Protected Methods

Method Description
LoadMoreAsync ( CollectionQuery query, object continuationToken ) : Task

Private Methods

Method Description
CreateFromCache ( CollectionQuery query, bool cachedPageIsComplete, bool isEndOfData ) : CollectionDataView
GetCacheState ( CollectionQuery query ) : CachedDataViewState
IsEndOfCache ( CollectionQuery query ) : bool

Method Details

ClearCachedData() public method

public ClearCachedData ( ) : void
return void

GetDataView() public method

public GetDataView ( CollectionQuery query ) : CollectionDataView
query CollectionQuery
return CollectionDataView

GetHighestKnownIndex() public method

public GetHighestKnownIndex ( CollectionQuery query ) : int
query CollectionQuery
return int

HasAllDataBeenLoaded() public method

public HasAllDataBeenLoaded ( CollectionQuery query ) : bool
query CollectionQuery
return bool

LoadMoreAsync() protected abstract method

protected abstract LoadMoreAsync ( CollectionQuery query, object continuationToken ) : Task
query CollectionQuery
continuationToken object
return Task

LoadMoreDataSource() public method

public LoadMoreDataSource ( CliMessagePump pump ) : System
pump CliMessagePump
return System