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