Class Shape
A Shape describes the inlets and outlets of a IGraph<TShape>. In keeping with the philosophy that a Graph is a freely reusable blueprint, everything that matters from the outside are the connections that can be made with it, otherwise it is just a black box.
Inheritance
Implements
Inherited Members
Namespace: Akka.Streams
Assembly: Akka.Streams.dll
Syntax
public abstract class Shape : ICloneable
Properties
| Improve this Doc View SourceInlets
Gets list of all input ports.
Declaration
public abstract ImmutableArray<Inlet> Inlets { get; }
Property Value
Type | Description |
---|---|
System.Collections.Immutable.ImmutableArray<Inlet> |
Outlets
Gets list of all output ports.
Declaration
public abstract ImmutableArray<Outlet> Outlets { get; }
Property Value
Type | Description |
---|---|
System.Collections.Immutable.ImmutableArray<Outlet> |
Methods
| Improve this Doc View SourceClone()
TBD
Declaration
public object Clone()
Returns
Type | Description |
---|---|
Object | TBD |
CopyFromPorts(ImmutableArray<Inlet>, ImmutableArray<Outlet>)
Create a copy of this Shape object, returning the same type as the original but containing the ports given within the passed-in Shape.
Declaration
public abstract Shape CopyFromPorts(ImmutableArray<Inlet> inlets, ImmutableArray<Outlet> outlets)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.ImmutableArray<Inlet> | inlets | TBD |
System.Collections.Immutable.ImmutableArray<Outlet> | outlets | TBD |
Returns
Type | Description |
---|---|
Shape | TBD |
DeepCopy()
Create a copy of this Shape object, returning the same type as the original; this constraint can unfortunately not be expressed in the type system.
Declaration
public abstract Shape DeepCopy()
Returns
Type | Description |
---|---|
Shape | TBD |
HasSamePortsAndShapeAs(Shape)
Compare this to another shape and determine whether the arrangement of ports is the same (including their ordering).
Declaration
public bool HasSamePortsAndShapeAs(Shape shape)
Parameters
Type | Name | Description |
---|---|---|
Shape | shape | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
HasSamePortsAs(Shape)
Compare this to another shape and determine whether the set of ports is the same (ignoring their ordering).
Declaration
public bool HasSamePortsAs(Shape shape)
Parameters
Type | Name | Description |
---|---|---|
Shape | shape | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
ToString()
Declaration
public sealed override string ToString()
Returns
Type | Description |
---|---|
String |