Search Results for

    Show / Hide Table of Contents

    Class TestActor.Spawn

    Message which is intended to allow TestKit to spawn a child actor

    Inheritance
    object
    TestActor.Spawn
    Implements
    INoSerializationVerificationNeeded
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.TestKit
    Assembly: Akka.TestKit.dll
    Syntax
    public class TestActor.Spawn : INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    Spawn(Props, Option<string>, Option<SupervisorStrategy>)

    Declaration
    public Spawn(Props props, Option<string> name, Option<SupervisorStrategy> supervisorStrategy)
    Parameters
    Type Name Description
    Props props
    Option<string> name
    Option<SupervisorStrategy> supervisorStrategy

    Fields

    | Edit this page View Source

    _name

    Declaration
    public readonly Option<string> _name
    Field Value
    Type Description
    Option<string>
    | Edit this page View Source

    _props

    Declaration
    public readonly Props _props
    Field Value
    Type Description
    Props
    | Edit this page View Source

    _supervisorStrategy

    Declaration
    public readonly Option<SupervisorStrategy> _supervisorStrategy
    Field Value
    Type Description
    Option<SupervisorStrategy>

    Methods

    | Edit this page 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
    Type Name Description
    IActorRefFactory context
    Returns
    Type Description
    IActorRef

    Implements

    INoSerializationVerificationNeeded

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET