Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.0.1-preview-721" />

 IDependencyResolver

Represents a dependency resolver.
object Activate(Type type, object[] arguments)

Activates an object without registering it into the container. If you want to resolve a registered service use the Resolve method instead.

IDependencyResolver BeginScope(object name = null, bool attachToParent = false)

Creates a new scope.

TTo BuildUp<TTo>(TTo instance)

Builds up an existing instance. This means the container performs member and method injections on it without registering it into the container.

bool CanResolve<TFrom>(object name = null)

Checks whether a type can be resolved by the container, or not.

bool CanResolve(Type typeFrom, object name = null)

Checks whether a type can be resolved by the container, or not.

Calls the registered asynchronous initializers of all resolved objects.

void PutInstanceInScope(Type typeFrom, object instance, bool withoutDisposalTracking = false, object name = null)

Puts an instance into the scope. The instance will be disposed along with the scope disposal.

object Resolve(Type typeFrom, bool nullResultAllowed = false, object[] dependencyOverrides = null)

Resolves an instance from the container.

object Resolve(Type typeFrom, object name, bool nullResultAllowed = false, object[] dependencyOverrides = null)

Resolves an instance from the container.

IEnumerable<TKey> ResolveAll<TKey>(object[] dependencyOverrides = null)

Resolves all registered types of a service.

IEnumerable<object> ResolveAll(Type typeFrom, object[] dependencyOverrides = null)

Resolves all registered types of a service.

Delegate ResolveFactory(Type typeFrom, object name = null, bool nullResultAllowed = false, Type[] parameterTypes)

Returns a factory method that can be used to activate the service.