Exemple #1
0
 public CommandResult(RejectReasons reasons)
 {
     Accepted      = false;
     RejectReasons = reasons;
 }
Exemple #2
0
 public RejectException(RejectReasons reasons)
 {
     this.Reasons = reasons;
 }
Exemple #3
0
 protected void Reject(RejectReasons reasons)
 {
     Argument.RequiresNotNull(reasons, nameof(reasons));
     throw new RejectException(reasons);
 }