Term Class

Implements IPrimitive.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class Term : IPrimitive, IEquatable<Term>
Inheritance
Object    Term
Derived
Implements
IPrimitive, IEquatable<Term>

Constructors

Term(IPrimitive) Copying of the expression component.
Term(Term) Copying of the expression component.
Term(String, TermType, Int32) Constructor of the instance of an expression component.

Properties

ArgsCount Number of children of the expression component. Can get values:
  • "0" - for the Operand;
  • "1" - for the Bracket;
  • "1" or "2" - for the Operator;
  • More then "1" or equal - for the Function.
ChildCount Number of children of the expression component. Can get values:
  • "0" - for the Operand;
  • "1" - for the Bracket;
  • "1" or "2" - for the Operator;
  • More then "1" or equal - for the Function.

Obsolete.
Text Text value of the expression component.
Type Type of the expression component.

Methods

Clone Clones current expression component.
Equals Compares an object with a second one.
(Overrides Object.Equals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as a hash function for a particular type.
(Overrides Object.GetHashCode())
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Shows a string representation of current expression component.
(Overrides Object.ToString())

Operators

Equality(Term, Term) Compares data of two Term instances.
Inequality(Term, Term) Compares data of two Term instances.

Fields

Empty Empty instance of the expression component.

Explicit Interface Implementations

IEquatable<Term>.Equals Compares an object with a second one.

See Also