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