Ejemplo n.º 1
0
 public SchedulingController(
     ITaskStore taskStore,
     ITaskActivator taskActivator,
     ITaskScheduler taskScheduler,
     IAsyncState asyncState,
     CommonSettings commonSettings)
 {
     _taskStore      = taskStore;
     _taskActivator  = taskActivator;
     _taskScheduler  = taskScheduler;
     _asyncState     = asyncState;
     _commonSettings = commonSettings;
 }
Ejemplo n.º 2
0
        public TaskExecutor(
            ITaskStore taskStore,
            ITaskActivator taskActivator,
            IComponentContext componentContext,
            IAsyncState asyncState,
            AsyncRunner asyncRunner,
            IApplicationContext appContext)
        {
            _taskStore        = taskStore;
            _taskActivator    = taskActivator;
            _componentContext = componentContext;
            _asyncState       = asyncState;
            _asyncRunner      = asyncRunner;
            _appContext       = appContext;

            Logger = NullLogger.Instance;
        }