RuleNegate

[DebuggerDisplay("{Notation}")] public sealed class RuleNegate : IRule
Represents a rule that negates another rule.

Constructors

RuleNegate

#
public RuleNegate(IRule rule)
Create a negation of another rule.
rule (IRule)Rule to negate.

Properties

Notation

#
public string Notation { get; }
Gets the string notation/representation for this type.
Notation

Methods

Apply

#
public bool Apply(int number)
Applies this type to an integer.
number (int)Integer to match.
True if the integer passes the type test.
Apply