Class TestActor.Spawn
Message which is intended to allow TestKit to spawn a child actor
Inheritance
TestActor.Spawn
Assembly: Akka.TestKit.dll
Syntax
public class Spawn : INoSerializationVerificationNeeded
Constructors
|
Improve this Doc
View Source
Spawn(Props, Option<String>, Option<SupervisorStrategy>)
Declaration
public Spawn(Props props, Option<string> name, Option<SupervisorStrategy> supervisorStrategy)
Parameters
Fields
|
Improve this Doc
View Source
_name
Declaration
public readonly Option<string> _name
Field Value
|
Improve this Doc
View Source
_props
Declaration
public readonly Props _props
Field Value
|
Improve this Doc
View Source
_supervisorStrategy
Declaration
public readonly Option<SupervisorStrategy> _supervisorStrategy
Field Value
Methods
|
Improve this Doc
View Source
Apply(IActorRefFactory)
Using the given context, create an actor of the given _props, and optionally naming it with _name
Declaration
public IActorRef Apply(IActorRefFactory context)
Parameters
Returns
Implements
Extension Methods