InstanceGenericFirstDependencyResolver
struct · ferroui-splat · v0.5.0
struct InstanceGenericFirstDependencyResolver
A resolver whose registrations belong to the instance, kept per service type and contract
(InstanceGenericFirstDependencyResolver). It is the resolver AppLocator starts with.
A registration runs the callbacks of its service type and contract; disposing the resolver drops its registrations, disposes the constants and the created lazy singletons that were registered as disposable, and runs every callback once more.
Members
new
fn new() -> Self
An empty resolver.
with_configuration
fn with_configuration(configure: impl FnOnce(&dyn IMutableDependencyResolver) -> ()) -> Self
A resolver that configure registers services with first
(InstanceGenericFirstDependencyResolver(Action<IMutableDependencyResolver>?)).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeIDependencyResolverReadonlyDependencyResolverExtMutableDependencyResolverExtResolverMixinsServiceLocationInitializationExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyDefaultIReadonlyDependencyResolverIMutableDependencyResolverIDisposable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.