public SaveMergedStatisticsCommand(MergeStatisticsContext <TKey, TData> context, Action <TData> removeEntityAction, Action <TData> createEntityAction)
 {
     this.context            = context;
     this.removeEntityAction = removeEntityAction;
     this.createEntityAction = createEntityAction;
 }
Beispiel #2
0
 public MergeStatisticsCommand(MergeStatisticsContext <TKey, TData> context, Func <DataSampler <TData> > createSamplerFunc)
 {
     this.context           = context;
     this.createSamplerFunc = createSamplerFunc;
 }
Beispiel #3
0
 public LoadStatisticsForMergeCommand(MergeStatisticsContext <TKey, TData> context, Func <DateTime, DateTime, IReadOnlyDictionary <TKey, List <TData> > > loadingFunc)
 {
     this.context     = context;
     this.loadingFunc = loadingFunc;
 }