C# Class Exrin.Insights.InsightProvider

Inheritance: IInsightsProvider
Show file Open project: exrin/Exrin

Public Methods

Method Description
InsightProvider ( IInsightStorage storage, int tick = 300000 ) : Abstraction
Record ( IInsightData data ) : System.Threading.Tasks.Task

Saves to storage for later processing.

Protected Methods

Method Description
Send ( IList insights ) : Task>

Will send the insight data to the insight provider

Private Methods

Method Description
Process ( ) : System.Threading.Tasks.Task

Method Details

InsightProvider() public method

public InsightProvider ( IInsightStorage storage, int tick = 300000 ) : Abstraction
storage IInsightStorage
tick int
return Abstraction

Record() public method

Saves to storage for later processing.
public Record ( IInsightData data ) : System.Threading.Tasks.Task
data IInsightData
return System.Threading.Tasks.Task

Send() protected abstract method

Will send the insight data to the insight provider
protected abstract Send ( IList insights ) : Task>
insights IList
return Task>