Search Results for

    Show / Hide Table of Contents

    Class ServiceProviderSetup

    Used to help bootstrap an ActorSystem with dependency injection (DI) support via a IServiceProvider reference.

    The IServiceProvider will be used to access previously registered services in the creation of actors and other pieces of infrastructure inside Akka.NET.

    The constructor is internal. Please use Create(IServiceProvider) to create a new instance.

    Inheritance
    object
    Setup
    ServiceProviderSetup
    Inherited Members
    Setup.And(Setup)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.DependencyInjection
    Assembly: Akka.DependencyInjection.dll
    Syntax
    [Obsolete("Used DependencyResolverSetup instead.")]
    public class ServiceProviderSetup : Setup

    Properties

    | Edit this page View Source

    ServiceProvider

    Declaration
    public IServiceProvider ServiceProvider { get; }
    Property Value
    Type Description
    IServiceProvider

    Methods

    | Edit this page View Source

    Create(IServiceProvider)

    Declaration
    public static ServiceProviderSetup Create(IServiceProvider provider)
    Parameters
    Type Name Description
    IServiceProvider provider
    Returns
    Type Description
    ServiceProviderSetup

    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