-
-
Notifications
You must be signed in to change notification settings - Fork 5
Precedence
Namespace: StringMath
Assembly: StringMath
Inheritance: Object → ValueType → Precedence
Implements: IEquatable<Precedence>
References: IMathContext, ICalculator
The operator precedence.
public readonly struct Precedence : IEquatable<Precedence>
The lowest precedence value.
public static Precedence None;
Field Value
Addition precedence (0).
public static Precedence Addition;
Field Value
Multiplication precedence (1).
public static Precedence Multiplication;
Field Value
Power precedence (2).
public static Precedence Power;
Field Value
Logarithmic precedence (3).
public static Precedence Logarithmic;
Field Value
User-defined precedence (4).
public static Precedence UserDefined;
Field Value
The highest precedence value.
public static Precedence Prefix;
Field Value
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Precedence other);
Parameters
other
Precedence: An object to compare with this object.
Returns
Boolean: true if the current object is equal to the other parameter; otherwise, false.
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj);
Parameters
obj
Object: The object to compare with the current instance.
Returns
Boolean: true if obj and this instance are the same type and represent the same value; otherwise, false.
Returns the hash code for this instance.
public override int GetHashCode();
Returns
Int32: A 32-bit signed integer that is the hash code for this instance.