Class InputPortArrayExt
Extension methods added to PortArray<TPort> which are specific to PortArrays of input port types
Inherited Members
Namespace: Unity.DataFlowGraph
Syntax
public static class InputPortArrayExt
Methods
GetPortID<TInputPort>(PortArray<TInputPort>)
Returns the InputPortID corresponding to this PortArray<TPort> similar to PortArray<TPort>'s explicit cast operator but without incurring a runtime check that the port in fact represents an input type.
Declaration
public static InputPortID GetPortID<TInputPort>(this in PortArray<TInputPort> portArray)
    where TInputPort : struct, IInputPort
Parameters
| Type | Name | Description | 
|---|---|---|
| PortArray<TInputPort> | portArray | 
Returns
| Type | Description | 
|---|---|
| InputPortID | 
Type Parameters
| Name | Description | 
|---|---|
| TInputPort |