Sage Modeling and Simulation Library

IPortSet Members

The IPortSet type exposes the following members.


  Name Description
Public method AddPort
Adds a port to this object's port set.
Public method ClearPorts
Unregisters all ports.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetKey Obsolete.
Looks up the key associated with a particular port.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemovePort
Removes a port from an object's portset. Any entity having references to the port may still use it, though this may be wrong from an application perspective.
Public method SetSortOrder<(Of <<'(T>)>>)
Sorts the ports based on one element of their Out-of-band data sets. Following a return from this call, the ports will be in the order requested. The "T" parameter will usually be int, double or string, but it must represent the IComparable-implementing type of the data stored under the provided OOBDataKey.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)


  Name Description
Public property Count
Gets the count of all kids of ports in this collection.
Public property Inputs
Gets the input ports owned by this PortSet.
Public property Item[([( Guid])])
Permits a caller to retrieve a port by its guid.
Public property Item[([( String])])
Permits a caller to retrieve a port by its name.
Public property Item[([( Int32])])
Gets the IPort with the specified index, i.
Public property Outputs
Gets the output ports owned by this PortSet.
Public property PortKeys
Returns a collection of the keys that belong to ports known to this PortSet.


  Name Description
Public event PortAdded
Fired when a port has been added to this IPortSet.
Public event PortRemoved
Fired when a port has been removed from this IPortSet.