Sage Modeling and Simulation Library

GenericPort Constructor

Creates a port with a given owner. It is the responsibility of the creator to add the port to the owner's PortSet.

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

Syntax


public GenericPort(
	IModel model,
	string name,
	Guid guid,
	IPortOwner owner
)

Parameters

model
Type: Highpoint.Sage.SimCore..::..IModel
The model in which the port exists.
name
Type: String
The name of the port.
guid
Type: Guid
The GUIDof the port.
owner
Type: Highpoint.Sage.ItemBased.Ports..::..IPortOwner
The IPortOwner that will own this port.