コード例 #1
0
 public static DocumentModificationResult Success(IResultDetails details = null) => new DocumentModificationResult(true, details);
コード例 #2
0
 public static DocumentModificationResult Failure(IResultDetails details) => new DocumentModificationResult(false, details);
コード例 #3
0
 public static OperationResult Failure(IResultDetails details) => new OperationResult(false, details);
コード例 #4
0
 public DocumentModificationResult(bool successful, IResultDetails details)
 {
     Successful = successful;
     Details    = details;
 }
コード例 #5
0
 public OperationResult(bool successful, IResultDetails details)
 {
     Successful = successful;
     Details    = details;
 }
コード例 #6
0
 public static OperationResult Success(IResultDetails details = null) => new OperationResult(true, details);
コード例 #7
0
 public static TemplateModificationResult Success(IResultDetails details = null) => new TemplateModificationResult(true, details);
コード例 #8
0
 public static TemplateModificationResult Failure(IResultDetails details) => new TemplateModificationResult(false, details);
コード例 #9
0
 public TemplateModificationResult(bool successful, IResultDetails details)
 {
     Successful = successful;
     Details    = details;
 }
コード例 #10
0
 public static ProcessingResult <TResult> Skipped(IResultDetails details) => new ProcessingResult <TResult>(StepOutcome.Skipped, default(TResult), details);
コード例 #11
0
 public static ProcessingResult <TResult> Failure(IResultDetails details) => new ProcessingResult <TResult>(StepOutcome.Failure, default(TResult), details);
コード例 #12
0
 public static ProcessingResult <TResult> Success(TResult result, IResultDetails details = null) => new ProcessingResult <TResult>(StepOutcome.Success, result, details);
コード例 #13
0
 public ProcessingResult(StepOutcome outcome, TResult result, IResultDetails details)
 {
     Result  = result;
     Outcome = outcome;
     Details = details;
 }