DependencyResolverMixins
trait · ferroui-splat · v0.5.0
trait DependencyResolverMixins
WithResolver of a resolver (DependencyResolverMixins).
The Type-based RegisterConstant(object?, Type) and RegisterLazySingleton(Func<object?>, Type) of upstream are not ported: they take the service type at run time.
Members
with_resolver
fn with_resolver(self: &Self) -> Rc<dyn IDisposable>
Makes the resolver the current one of AppLocator until the returned disposable is
disposed, without notifying the callbacks of the locator (WithResolver()).
with_resolver_suppressing
fn with_resolver_suppressing(self: &Self, suppress_resolver_callback: bool) -> Rc<dyn IDisposable>
Makes the resolver the current one of AppLocator until the returned disposable is
disposed; the callbacks of the locator are notified unless suppress_resolver_callback
(WithResolver(bool)).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.