Definition Class

Stores information about single definition.

Definition

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

Constructors

Definition(Definition)Initializes a new instance of the Definition class
Definition(String, Term, Entry)Initializes a new instance of the Definition class
Definition(String, Term, Term)Initializes a new instance of the Definition class
Obsolete.
Definition(String, Term, Entry, String)Initializes a new instance of the Definition class
Definition(String, Term, Entry, String, Boolean) Definition of 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 
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 
ToString Shows a string representation of current definition.
(Overrides ObjectToString)
ToTerm 
ToTerm(SessionProfile) 

See Also