Method Create
Create<TEdge>(Orientation, Direction, Capacity, Type)
Creates the specified orientation.
Declaration
public static Port Create<TEdge>(Orientation orientation, Direction direction, Port.Capacity capacity, Type type) where TEdge : Edge, new()
Parameters
| Type | Name | Description |
|---|---|---|
| Orientation | orientation | The orientation. |
| Direction | direction | The direction. |
| Port.Capacity | capacity | The capacity. |
| Type | type | The type. |
Returns
| Type | Description |
|---|---|
| Port | Port. |
Type Parameters
| Name | Description |
|---|---|
| TEdge | The type of the t edge. |