Open sandboxFocus

Class NumericBound

Represents a single bound of a NumericRange.

Inheritance
NumericBound
Namespace: Metalama.Patterns.Contracts.Numeric
Assembly: Metalama.Patterns.Contracts.dll
Syntax
[RunTimeOrCompileTime]
public abstract record NumericBound : ICompileTimeSerializable, IEquatable<NumericBound>

Constructors

Name Description
NumericBound(NumericBound)
NumericBound(bool)

Properties

Name Description
EqualityContract
IsAllowed
ObjectValue

Methods

Name Description
Create(decimal, bool)
Create(double, bool)
Create(long, bool, int)
Create(ulong, bool)
Equals(NumericBound?)
Equals(object?)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
operator ==(NumericBound?, NumericBound?)
operator !=(NumericBound?, NumericBound?)

Extension Methods