Sage Modeling and Simulation Library

ItemSource Constructor

Initializes a new instance of the ItemSource class.

Namespace:  Highpoint.Sage.ItemBased.SinksAndSources
Assembly:  Sage4 (in Sage4.dll)

Syntax


public ItemSource(
	IModel model,
	string name,
	Guid guid,
	ObjectSource objectSource,
	IPulseSource pulseSource,
	bool persistentOutput
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model in which this object runs.
name
Type: String
The user-friendly name of this object. Typically not required to be unique in a pan-model context.
guid
Type: Guid
The GUID of this object. Typically registered as this object's ModelObject key, and thus, required to be unique in a pan-model context.
objectSource
Type: Highpoint.Sage.ItemBased.SinksAndSources..::..ObjectSource
The object source.
pulseSource
Type: Highpoint.Sage.ItemBased..::..IPulseSource
The pulse source.
persistentOutput
Type: Boolean
If true, then the most recent output value will be returned on any peek or pull.