Search Results for

    Show / Hide Table of Contents

    Interface IDependencyResolver

    Defines services used by the ActorSystem extension system to create actors

    Namespace: Akka.DI.Core
    Assembly: Akka.DI.Core.dll
    Syntax
    public interface IDependencyResolver

    Methods

    | Improve this Doc View Source

    Create(Type)

    Used to register the configuration for an actor of the specified type actorType

    Declaration
    Props Create(Type actorType)
    Parameters
    Type Name Description
    Type actorType

    The Type of actor the configuration is based

    Returns
    Type Description
    Props

    The configuration object for the given actor type

    | Improve this Doc View Source

    Create<TActor>()

    Used to register the configuration for an actor of the specified type TActor

    Declaration
    Props Create<TActor>()
        where TActor : ActorBase
    Returns
    Type Description
    Props

    The configuration object for the given actor type

    Type Parameters
    Name Description
    TActor

    The type of actor the configuration is based

    | Improve this Doc View Source

    CreateActorFactory(Type)

    Creates a delegate factory used to create actors based on their type

    Declaration
    Func<ActorBase> CreateActorFactory(Type actorType)
    Parameters
    Type Name Description
    Type actorType

    The type of actor that the factory builds

    Returns
    Type Description
    Func<ActorBase>

    A delegate factory used to create actors

    | Improve this Doc View Source

    GetType(String)

    Retrieves an actor's type with the specified name

    Declaration
    Type GetType(string actorName)
    Parameters
    Type Name Description
    String actorName

    The name of the actor to retrieve

    Returns
    Type Description
    Type

    The type with the specified actor name

    | Improve this Doc View Source

    Release(ActorBase)

    Signals the container to release it's reference to the actor.

    Declaration
    void Release(ActorBase actor)
    Parameters
    Type Name Description
    ActorBase actor

    The actor to remove from the container

    Extension Methods

    PatternMatch.Match(Object)
    PatternMatch.Match<T>(Object)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(Object)
    ObjectExtensions.IsDefaultForType<T>(T)
    In This Article
    • githubImprove this Doc
    • 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