Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="4.1.0-preview-677" />

 IDependencyResolver

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

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

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

Begins a new scope.

TTo BuildUp<TTo>(TTo instance)

Builds up an instance, the container will perform injections and extensions on it.

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.

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

Puts an instance into the scope which will be dropped when the scope is being disposed.

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 which can be used to activate a type.