XPRMInitializationFrom Delegate
A routine to initialize Mosel objects from .NET. A delegate of this type can be used to initialize Mosel objects from an 'initializations from' block, for which the filename is "dotnet:objname", with 'objname' being the bound name of the object. The XPRMInitializationFrom delegate is then called once for each label to be initialized.
Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.0.0

C#
public delegate bool XPRMInitializationFrom( XPRMInitializeContext ictx, string label, XPRMTyped type )
Parameters
- ictx
-
Type:
MoselXPRMInitializeContext
The initialization context object, which can be used to assign the Mosel object. - label
-
Type:
SystemString
The label associated with the record to be initialized, as used within the 'initializations-from' block - type
-
Type:
MoselXPRMTyped
The type of the record
Return Value
Type: Booleantrue if successful, false otherwise
