IDependencyResolver
Represents a dependency resolver.
Activates an object without registering it into the container. If you want to resolve a
registered service use the Resolve method instead.
Creates a new scope.
Builds up an existing instance. This means the container performs member and method injections on it without registering it into the container.
Checks whether a type can be resolved by the container, or not.
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.
Resolves an instance from the container.
object Resolve(Type typeFrom, object name, bool nullResultAllowed, object[] dependencyOverrides = null)
Resolves an instance from the container.
Resolves an instance from the container.
Resolves an instance from the container with dependency overrides.
Resolves a named instance from the container.
Resolves a named instance from the container with dependency overrides.
Resolves all registered implementations of a service.
Resolves all registered implementations of a service with dependency overrides.
Resolves all registered implementations of a service.
Resolves all registered implementations of a service with dependency overrides.
Returns a factory delegate that can be used to activate the service.
Returns a factory delegate that can be used to activate the service or returns default if the type is not resolvable.
Resolves an instance from the container or returns default if the type is not resolvable.
Resolves an instance from the container with dependency overrides or returns default if the type is not resolvable.
Resolves a named instance from the container or returns default if the type is not resolvable.
Resolves an instance from the container with dependency overrides or returns default if the type is not resolvable.