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