Interface IUnitPort
Syntax
public interface IUnitPort : IGraphItem
Properties
connectedPorts
Declaration
IEnumerable<IUnitPort> connectedPorts { get; }
Property Value
connections
Declaration
IEnumerable<IUnitConnection> connections { get; }
Property Value
hasAnyConnection
Declaration
bool hasAnyConnection { get; }
Property Value
hasInvalidConnection
Declaration
bool hasInvalidConnection { get; }
Property Value
hasValidConnection
Declaration
bool hasValidConnection { get; }
Property Value
invalidConnections
Declaration
IEnumerable<InvalidConnection> invalidConnections { get; }
Property Value
key
Declaration
Property Value
relations
Declaration
IEnumerable<IUnitRelation> relations { get; }
Property Value
unit
Declaration
Property Value
validConnections
Declaration
IEnumerable<IUnitConnection> validConnections { get; }
Property Value
Methods
CanInvalidlyConnectTo(IUnitPort)
Declaration
bool CanInvalidlyConnectTo(IUnitPort port)
Parameters
Returns
CanValidlyConnectTo(IUnitPort)
Declaration
bool CanValidlyConnectTo(IUnitPort port)
Parameters
Returns
CompatiblePort(IUnit)
Declaration
IUnitPort CompatiblePort(IUnit unit)
Parameters
Type |
Name |
Description |
IUnit |
unit |
|
Returns
Disconnect()
Declaration
InvalidlyConnectTo(IUnitPort)
Declaration
void InvalidlyConnectTo(IUnitPort port)
Parameters
ValidlyConnectTo(IUnitPort)
Declaration
void ValidlyConnectTo(IUnitPort port)
Parameters
Extension Methods