public Context( StateOperationContext operationContext, IState target, IShouldProcess shouldProcess, IProgressReport progressReport, ProgressMap progressMap) { _OperationContext = operationContext; _Target = target; _ShouldProcess = shouldProcess; _ProgressReport = progressReport; _ProgressMap = progressMap; }
/// <summary> /// /// </summary> /// <param name="operationContext">a state operation context.</param> /// <param name="target">An Azure target state.</param> /// <param name="shouldProcess">A 'should process' interface</param> /// <param name="reportTaskProgress">A callback to report progress.</param> /// <param name="progressMap">Task progress information.</param> public Context( StateOperationContext operationContext, IState target, IShouldProcess shouldProcess, Action <ITaskProgress> reportTaskProgress, ProgressMap progressMap) { _OperationContext = operationContext; _Target = target; _ShouldProcess = shouldProcess; _ReportTaskProgress = reportTaskProgress; _ProgressMap = progressMap; }