Sage Modeling and Simulation Library

InitializerArgAttribute Constructor (Int32, String, RefType, Type, Boolean, String)

Decorates an argument in an Initialize method. If the argument is an array, it may have no more than one element.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public InitializerArgAttribute(
	int paramIndex,
	string argName,
	RefType argRefType,
	Type argType,
	bool optional,
	string argDescription
)

Parameters

paramIndex
Type: Int32
0 for the first Initializer argument (not counting model, name, decription, guid), 1 for the second, etc.
argName
Type: String
The display name for the argument.
argRefType
Type: Highpoint.Sage.SimCore..::..RefType
The RefType (Master, Slave, Shared, Private) of the argument or object represented by the argument.
argType
Type: Type
The Runtime Type of the argument (particularly relevant when the argument is an IModelObject guid.
optional
Type: Boolean
True if this argument is a guid that can be Guid.Empty (which maps to 'null' in the ModelObjectDictionary.)
argDescription
Type: String
A description of the purpose of the argument.