Class DependencyResolverSetup
Used to help bootstrap an Actor
The IDependency
The constructor is internal. Please use Create(IService
Inherited Members
Namespace: Akka.DependencyInjection
Assembly: Akka.DependencyInjection.dll
Syntax
public class DependencyResolverSetup : Setup
Properties
| Improve this Doc View SourceDependencyResolver
Declaration
public IDependencyResolver DependencyResolver { get; }
Property Value
Type | Description |
---|---|
IDependency |
Methods
| Improve this Doc View SourceCreate(IDependencyResolver)
Creates a new instance of DependencyResolverSetup, an implementation of IDependency
Declaration
public static DependencyResolverSetup Create(IDependencyResolver provider)
Parameters
Type | Name | Description |
---|---|---|
IDependency |
provider |
Returns
Type | Description |
---|---|
Dependency |
Create(IServiceProvider)
Creates a new instance of DependencyResolverSetup, passing in IService
Declaration
public static DependencyResolverSetup Create(IServiceProvider provider)
Parameters
Type | Name | Description |
---|---|---|
IService |
provider |
Returns
Type | Description |
---|---|
Dependency |