29 this.lhs =
lhs ??
throw new ArgumentNullException(nameof(
lhs));
30 this.rhs =
rhs ??
throw new ArgumentNullException(nameof(
rhs));
35 =>
lhs.Evaluate(rights) ||
rhs.Evaluate(rights);
39 => $
"({lhs} || {rhs})";
Logical OR RightsConditional<TRights>.
readonly RightsConditional< TRights > rhs
The right hand side operand.
readonly RightsConditional< TRights > lhs
The left hand side operand.
override bool Evaluate(TRights rights)
OrRightsConditional(RightsConditional< TRights > lhs, RightsConditional< TRights > rhs)
Initializes a new instance of the OrRightsConditional<TRights> class.
override string ToString()
An conditional expression of TRights .