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 AND RightsConditional<TRights>.
readonly RightsConditional< TRights > rhs
The right hand side operand.
override bool Evaluate(TRights rights)
override string ToString()
readonly RightsConditional< TRights > lhs
The left hand side operand.
AndRightsConditional(RightsConditional< TRights > lhs, RightsConditional< TRights > rhs)
Initializes a new instance of the AndRightsConditional<TRights> class.
An conditional expression of TRights .