Sage Modeling and Simulation Library

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

Decorates an argument in an Initialize method.

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

Syntax


public InitializerArgAttribute(
	int paramIndex,
	string argName,
	RefType argRefType,
	Type argType,
	bool optional,
	int upperBound,
	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.)
upperBound
Type: Int32
If the argment type is an array, this integer depicts the largest number of elements it can have.
argDescription
Type: String
A description of the purpose of the argument.