Click or drag to resize
Akka.NETActorMaterializerCreate Method

Creates a ActorMaterializer which will execute every step of a transformation pipeline within its own ActorBase. The required IActorRefFactory (which can be either an ActorSystem or an IActorContext) will be used to create one actor that in turn creates actors for the transformation steps.

The materializer's ActorMaterializerSettings will be obtained from the configuration of the context's underlying ActorSystem.

The namePrefix is used as the first part of the names of the actors running the processing steps. The default namePrefix is "flow". The actor names are built up of `namePrefix-flowNumber-flowStepNumber-stepName`.

Namespace:  Akka.Streams
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static ActorMaterializer Create(
	IActorRefFactory context,
	ActorMaterializerSettings settings = null,
	string namePrefix = null
)

Parameters

context
Type: Akka.ActorIActorRefFactory
TBD
settings (Optional)
Type: Akka.StreamsActorMaterializerSettings
TBD
namePrefix (Optional)
Type: SystemString
TBD

Return Value

Type: ActorMaterializer
TBD
Exceptions
ExceptionCondition
ArgumentException This exception is thrown when the specified context is not of type ActorSystem or IActorContext.
ArgumentNullException This exception is thrown when the specified context is undefined.
See Also