Class InjectorDotNetBackend

The default IDiProvider implementation using the Solti.Utils.DI.ServiceCollection and Solti.Utils.DI.ScopeFactory classes.

Inheritance
Object
InjectorDotNetBackend
Implements
IDiProvider
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Solti.Utils.Rpc
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public class InjectorDotNetBackend : IDiProvider

Properties

ScopeOptions

The configuration applied on each created scope.

Declaration
public ScopeOptions ScopeOptions { get; set; }
Property Value
Type Description
Solti.Utils.DI.Interfaces.ScopeOptions

Services

Services from which the scopes will be created.

Declaration
public IServiceCollection Services { get; }
Property Value
Type Description
Solti.Utils.DI.Interfaces.IServiceCollection

Methods

CreateFactory(CancellationToken)

Creates a new Solti.Utils.DI.Interfaces.IScopeFactory instance against the given Services.

Declaration
public IScopeFactory CreateFactory(CancellationToken cancellation)
Parameters
Type Name Description
CancellationToken cancellation
Returns
Type Description
Solti.Utils.DI.Interfaces.IScopeFactory

Implements

IDiProvider
In This Article
Back to top Generated by DocFX