Sage Modeling and Simulation Library

ParticipantDirectory..::..RegisterMapping Method (String, Guid)

Registers a mapping of this string as a DualMode string, mapped under the provided Guid. This will be a string that represents a step or transition, and which is backed by a Guid so that the string can be changed (such as when a step is flattened up into its parent, and its name goes from, e.g. "Prepare-Step" to "B : Xfr_Liquid2.Prepare-Step".

Namespace:  Highpoint.Sage.Graphs.PFC.Expressions
Assembly:  Sage4 (in Sage4.dll)


public ExpressionElement RegisterMapping(
	string name,
	Guid guid


Type: String
The name that is to become a DualMode string.
Type: Guid
The guid by which this element is to be known.

Return Value

The newly-created (or preexisting, if it was there already) dual mode string element.