Show / Hide Table of Contents

Interface IConfigurableDependencyResolver

Represents a dependency injection container, that supports re-configuration of the scoped container.

Inherited Members
IDependencyResolver.BeginScope()
IDependencyScope.GetServices(Type)
System.IServiceProvider.GetService(System.Type)
System.IDisposable.Dispose()
Namespace: IRM.Dependencies
Assembly: IRM.dll
Syntax
public interface IConfigurableDependencyResolver : IDependencyResolver, IDependencyScope, IServiceProvider, IDisposable

Properties

ConfigurationRoot

Gets a configuration object for the root resolver.

Declaration
IConfigureDependencies ConfigurationRoot { get; }
Property Value
IConfigureDependencies

Methods

BeginScope(Action<String, IConfigureScopeDependencies>, String)

Starts a resolution scope.

Declaration
IDependencyScope BeginScope(Action<string, IConfigureScopeDependencies> configure, string scopeName = "DefaultChildScope")
Parameters
System.Action<String, IConfigureScopeDependencies> configure

The action that configures the scoped container, from the scope name and the configuration support for the container.

String scopeName

The name of the scope. This can be used to create unique configuration for different scenarios if necessary.

Returns
IDependencyScope

The dependency scope.

Extension Methods

DependencyScopeExtensions.GetService<T>(IDependencyScope)
DependencyScopeExtensions.GetServices<T>(IDependencyScope)
ObjectExtensions.DeepClone<T>(T)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX