Skip to content
Miroiu Emanuel edited this page Oct 12, 2022 · 3 revisions

Precedence Struct

Namespace: StringMath

Assembly: StringMath

Inheritance: ObjectValueTypePrecedence

Implements: IEquatable

References: MathContext, IMathContext, MathExpr

The operator precedence.

public struct Precedence : ValueType, IEquatable<Precedence>

Fields

Addition

Addition precedence (0).

public static Precedence Addition;

Field Value

Precedence

Logarithmic

Logarithmic precedence (16).

public static Precedence Logarithmic;

Field Value

Precedence

Multiplication

Multiplication precedence (4).

public static Precedence Multiplication;

Field Value

Precedence

None

The lowest precedence value.

public static Precedence None;

Field Value

Precedence

Power

Power precedence (8).

public static Precedence Power;

Field Value

Precedence

Prefix

The highest precedence value.

public static Precedence Prefix;

Field Value

Precedence

UserDefined

User defined precedence (32).

public static Precedence UserDefined;

Field Value

Precedence

Methods

Equals(Precedence)

public virtual bool Equals(Precedence other);

Parameters

other Precedence

Returns

Boolean

Equals(Object)

public override bool Equals(object obj);

Parameters

obj Object

Returns

Boolean

GetHashCode()

public override int GetHashCode();

Returns

Int32