Class CollectorConsolidatedResultCache
Cache for consolidated collector results
Inherited Members
Namespace: PayrollEngine.Client.Scripting
Assembly: PayrollEngine.Client.Scripting.dll
Syntax
public class CollectorConsolidatedResultCache : ConsolidatedResultCacheBase
Constructors
CollectorConsolidatedResultCache(DateTime, PayrunJobStatus?, ResultCacheCycle)
Cache constructor
Declaration
public CollectorConsolidatedResultCache(DateTime cycleStartDate, PayrunJobStatus? jobStatus = null, ResultCacheCycle cacheCycle = ResultCacheCycle.PreviousCycle)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | cycleStartDate | The cycle start date |
| PayrunJobStatus? | jobStatus | The payrun job status |
| ResultCacheCycle | cacheCycle | The result cache cycle |
Methods
GetConsolidatedResults(PayrunFunction, CollectorConsolidatedResultQuery, string)
Get the collector results
Declaration
public IList<CollectorResult> GetConsolidatedResults(PayrunFunction function, CollectorConsolidatedResultQuery query, string runtimeKey = null)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrunFunction | function | |
| CollectorConsolidatedResultQuery | query | |
| string | runtimeKey |
Returns
| Type | Description |
|---|---|
| IList<CollectorResult> |