Sage Modeling and Simulation Library

Expression Members

The Expression type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Static member FromUf
Creates an Expression from a user-friendly representation of the expression. In that representation, a macro is expressed with a leading "'μ", as in 'μPreviousComplete' ...
Public method Static member FromUh
Creates an Expression from a user-hostile representation of the expression. In that representation, we have guids and we have rote strings.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString()()()()
Returns a String that represents the current Object.
Public method ToString(ExpressionType, Object)
Returns the string for this macro that corresponds to the indicated representation type.

Properties


  Name Description
Public property Guid
Gets or sets the GUID of this expression. Returns Guid.Empty if the expression element will not need to be correlated to anything (as would, for example, a string and Guid representing a Step Name element.)
(Inherited from ExpressionElement.)
Public property Name
Gets or sets the name of this expression. Returns string.Empty if the expression element does not reasonably have a name. Macros and placeholders for OpSteps, for example, have names, where rote strings do not.
(Inherited from ExpressionElement.)
Public property Type
Gets the type of this expression element - used primarily for ascertaining type compatibility between expressions.
(Inherited from ExpressionElement.)