Ejemplo n.º 1
0
 public TraceExecutionContext(WaitHandle startSynchronizer, Guid executionId, JobPoolDispatcher jobPoolDispatcher, IDependencyResolver resolver, CancellationToken cancellationToken, IFileValueConnectors connectors)
 {
     this._jobPoolDispatcher = jobPoolDispatcher;
     this.ExecutionId        = executionId;
     this.Connectors         = connectors;
     this.JobName            = null;
     this._startSynchronizer = startSynchronizer;
     this.DependencyResolver = resolver;
     this.ContextBag         = new SimpleDependencyResolver();
 }
Ejemplo n.º 2
0
 public JobExecutionContext(string jobName, Guid executionId, IPushSubject <TraceEvent> traceSubject, JobPoolDispatcher jobPoolDispatcher, IDependencyResolver resolver, CancellationTokenSource internalCancellationTokenSource, IFileValueConnectors connectors, bool useDetailedTraces)
 {
     this.UseDetailedTraces  = useDetailedTraces;
     this.ExecutionId        = executionId;
     this.JobName            = jobName;
     this._jobPoolDispatcher = jobPoolDispatcher;
     this._internalCancellationTokenSource = internalCancellationTokenSource;
     this._traceSubject      = traceSubject;
     this.Connectors         = connectors;
     this.ContextBag         = new SimpleDependencyResolver();
     this.DependencyResolver = resolver;
 }