 | GraphDsl.Create<TShapeOut, TMat, TShape1> Method (IGraph<TShape1, TMat>, Func<GraphDsl.Builder<TMat>, TShape1, TShapeOut>) |
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic static IGraph<TShapeOut, TMat> Create<TShapeOut, TMat, TShape1>(
IGraph<TShape1, TMat> g1,
Func<GraphDsl. Builder<TMat>, TShape1, TShapeOut> buildBlock
)
where TShapeOut : Shape
where TShape1 : Shape
static member Create :
g1 : IGraph<'TShape1, 'TMat> *
buildBlock : Func<GraphDsl. Builder<'TMat>, 'TShape1, 'TShapeOut> -> IGraph<'TShapeOut, 'TMat> when 'TShapeOut : Shape when 'TShape1 : Shape
Parameters
- g1
- Type: Akka.Streams.IGraph<TShape1, TMat>
Graph used as input parameter. - buildBlock
- Type: System.Func<GraphDsl.Builder<TMat>, TShape1, TShapeOut>
Graph construction function.
Type Parameters
- TShapeOut
- A type describing shape of the returned graph.
- TMat
- A type of value, that graph will materialize to after completion.
- TShape1
- A type of shape of the input graph.
Return Value
Type:
IGraph<TShapeOut,
TMat>A graph with materialized value.
See Also