Definition Class

Stores information about single definition.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class Definition
Inheritance
Object    Definition

Constructors

Definition(Definition) Constructor of the Definition for the function/variable which copies a data from another given Definition instance.
Definition(String, Term[], Entry) Constructor of the Definition for the function/variable.
Definition(String, Term[], Term[]) Constructor of the Definition for the function/variable.
Obsolete.
Definition(String, Term[], Entry, String) Constructor of the Definition for the function/variable.
Definition(String, Term[], Entry, String, Boolean) Constructor of the Definition for the function/variable.

Properties

Answer Value of the Function or Variable.
Obsolete.
Depth Defines context depth current definition is applicable to.
Description Contains description of the definition.
IsArgument Determines whether current instance of a Definition is an argument for another function in calculation stack.
IsCalculated Defines if current definition was already calculated and doesn't require any additional evaluation to proceed or not.
IsDeleted Returns true if this definition is not actual anymore.
IsFunction Returns a type of the definition: Function (true) or Variable (false).
IsInUse Returns true if the definition is already in use (can be used to prevent infinite loops while substitutions).
IsLocal Defines if definition was created within current Region or outside of it (i.e. inside another Region of the Worksheet).
IsProgram Detects procedure at right part of the definition.
IsSpecial Defines if definition is a special kind of built-in variable/function.
IsTerminator Returns true if this definition is Terminator.
Name Name of the Function or Variable.
Result Value of the Function or Variable.
Variables If function, then a list of variables should be defined.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToEntry Converts Definition to Entry.
ToString Shows a string representation of current definition.
(Overrides Object.ToString())
ToTerm() Converts Definition to Term.
ToTerm(SessionProfile) Converts Definition to Term with a given session options.

See Also