Sage Modeling and Simulation Library

LabelManager Members

The LabelManager type exposes the following members.

Constructors


  Name Description
Public method LabelManager()()()()
Initializes a new instance of the LabelManager 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 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 GetLabel
Gets the label from the context indicated by the provided context, or if null or String.Empty has been selected, then from the default context.
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 Static member SetContext
Sets the label context for all unspecified requests in this thread.
Public method SetLabel
Sets the label in the context indicated by the provided context, or if null or String.Empty has been selected, then in the default context.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields


  Name Description
Public field Static member CONTEXTSLOTNAME
The name of the Thread-Local-Storage data slot in which the current context key is stored.
Public field Static member DEFAULT_CHANNEL
The name of the default contents of the Thread-Local-Storage data slot in which the current context key is stored.

Properties


  Name Description
Public property Label
Gets or sets the label in the currently-selected context, or if none has been selected, then according to the default context.