Click or drag to resize
Akka.NETGraphDsl.Create<TShapeOut, TMatOut, TMat0, TMat1, TShape0, TShape1> Method (IGraph<TShape0, TMat0>, IGraph<TShape1, TMat1>, Func<TMat0, TMat1, TMatOut>, Func<GraphDsl.Builder<TMatOut>, TShape0, TShape1, TShapeOut>)

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static IGraph<TShapeOut, TMatOut> Create<TShapeOut, TMatOut, TMat0, TMat1, TShape0, TShape1>(
	IGraph<TShape0, TMat0> g0,
	IGraph<TShape1, TMat1> g1,
	Func<TMat0, TMat1, TMatOut> combineMaterializers,
	Func<GraphDsl. Builder<TMatOut>, TShape0, TShape1, TShapeOut> buildBlock
)
where TShapeOut : Shape
where TShape0 : Shape
where TShape1 : Shape

Parameters

g0
Type: Akka.Streams.IGraph<TShape0, TMat0>
A first input graph.
g1
Type: Akka.Streams.IGraph<TShape1, TMat1>
A second input graph.
combineMaterializers
Type: System.Func<TMat0, TMat1, TMatOut>
Function used to determine output materialized value based on the materialized values of the passed graphs.
buildBlock
Type: System.Func<GraphDsl.Builder<TMatOut>, TShape0, TShape1, TShapeOut>
A graph constructor function.

Type Parameters

TShapeOut
A type describing shape of the returned graph.
TMatOut
A type of value, that graph will materialize to after completion.
TMat0
A type of materialized value of the first input graph parameter.
TMat1
A type of materialized value of the second input graph parameter.
TShape0
A type describing the shape of a first input graph parameter.
TShape1
A type describing the shape of a second input graph parameter.

Return Value

Type: IGraph<TShapeOut, TMatOut>
A graph with materialized value.
See Also