Sage Modeling and Simulation Library

Macro Members

The Macro type exposes the following members.

Constructors


  Name Description
Public method Macro
Initializes a new instance of the Macro class.

Methods


  Name Description
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Evaluate
Evaluates the macro using the specified arguments.
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 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(ExpressionType, Object)
Returns the string for this macro element that corresponds to the indicated representation type.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields


  Name Description
Protected field m_guid
The Guid by which this macro will be known.
Protected field m_name
The friendly representation of this macro.
Public field Static member MACRO_START
All Macros start with this string.

Properties


  Name Description
Public property Guid
Gets or sets the GUID of this expression. Returns Guid.Empty if the epression element will not need to be correlated to anything (as would, for example, a string and Guid representing a Step Name element. Overridden in the concrete macro class.
Public property Name
Gets macro's name. Overridden in the concrete macro class.
Public property Type
Gets the type of this expression element - used primarily for ascertaining type compatibility between expressions.
(Inherited from ExpressionElement.)