Interface IDiProvider

Specifies the contract for dependency injection.

Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IDiProvider

Properties

Services

Services from which the scopes will be created.

Declaration
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
IScopeFactory CreateFactory(CancellationToken cancellation = default(CancellationToken))
Parameters
Type Name Description
CancellationToken cancellation
Returns
Type Description
Solti.Utils.DI.Interfaces.IScopeFactory
In This Article
Back to top Generated by DocFX