public ActivationDataActivatorProvider(
     GrainClassMap grainClassMap,
     IServiceProvider serviceProvider,
     ILoggerFactory loggerFactory,
     GrainReferenceActivator grainReferenceActivator,
     GrainTypeSharedContextResolver sharedComponentsResolver,
     IActivationWorkingSet activationWorkingSet,
     ILogger <WorkItemGroup> workItemGroupLogger,
     ILogger <ActivationTaskScheduler> activationTaskSchedulerLogger,
     SchedulerStatisticsGroup schedulerStatisticsGroup,
     IOptions <SchedulingOptions> schedulingOptions,
     IOptions <StatisticsOptions> statisticsOptions)
 {
     _activationWorkingSet          = activationWorkingSet;
     _workItemGroupLogger           = workItemGroupLogger;
     _activationTaskSchedulerLogger = activationTaskSchedulerLogger;
     _schedulerStatisticsGroup      = schedulerStatisticsGroup;
     _schedulingOptions             = schedulingOptions;
     _statisticsOptions             = statisticsOptions;
     _sharedComponentsResolver      = sharedComponentsResolver;
     _grainClassMap           = grainClassMap;
     _serviceProvider         = serviceProvider;
     _loggerFactory           = loggerFactory;
     _grainReferenceActivator = grainReferenceActivator;
 }
 public ActivationDataActivator(
     IGrainActivator grainActivator,
     IServiceProvider serviceProvider,
     GrainTypeSharedContext sharedComponents,
     ILogger <WorkItemGroup> workItemGroupLogger,
     ILogger <ActivationTaskScheduler> activationTaskSchedulerLogger,
     SchedulerStatisticsGroup schedulerStatisticsGroup,
     IOptions <SchedulingOptions> schedulingOptions,
     IOptions <StatisticsOptions> statisticsOptions)
 {
     _workItemGroupLogger           = workItemGroupLogger;
     _activationTaskSchedulerLogger = activationTaskSchedulerLogger;
     _schedulerStatisticsGroup      = schedulerStatisticsGroup;
     _schedulingOptions             = schedulingOptions;
     _statisticsOptions             = statisticsOptions;
     _grainActivator      = grainActivator;
     _serviceProvider     = serviceProvider;
     _sharedComponents    = sharedComponents;
     _createWorkItemGroup = context => new WorkItemGroup(
         context,
         _workItemGroupLogger,
         _activationTaskSchedulerLogger,
         _schedulerStatisticsGroup,
         _statisticsOptions,
         _schedulingOptions);
 }