Esempio n. 1
0
 public ConditionalTaskResult(IPipelineResult pipelineResult)
 {
     this._pipelineResult = pipelineResult;
     if (this._pipelineResult.IsSuccess)
     {
         this._result = ConditionalTaskResultEnum.Success;
     }
     else
     {
         this._result = ConditionalTaskResultEnum.Error;
     }
     this.Exception = pipelineResult.Exception;
 }
Esempio n. 2
0
 public ConditionalTaskResult(ConditionalTaskResultEnum wasNotRun)
 {
     this._result = wasNotRun;
 }