Sage Modeling and Simulation Library

IPortOwner Methods

The IPortOwner type exposes the following members.


  Name Description
Public method AddPort(IPort)
Adds a user-created port to this object's port set.
Public method AddPort(String)
Adds a port to this object's port set in the specified role or channel.
Public method AddPort(String, Guid)
Adds a port to this object's port set in the specified role or channel with the provided Guid.
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 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. Implementers are responsible to refuse removal of a port that is a hard property exposed (e.g. this.InputPort0), since it will remain accessible via that property.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)