RuleAnyNumber

[DebuggerDisplay("{Notation}")] public sealed class RuleAnyNumber : IRule
Represents a wildcard rule for any integer.

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