IServiceProvider
trait · ferroui-dependency-injection · v0.5.0
trait IServiceProvider
Members
ensure_activerequired_service_providerdisposablerequired_service_erasedget_service_erasedget_services_erased
ensure_active
fn ensure_active(self: &Self) -> ServiceResult<()>
required_service_provider
fn required_service_provider(self: &Self) -> Option<&dyn ISupportRequiredService>
Explicit capability query replaces CLR interface casts for alternate providers.
disposable
fn disposable(self: &Self) -> Option<&dyn IDisposable>
required_service_erased
fn required_service_erased(self: &Self, id: &ServiceIdentifier) -> ServiceResult<ErasedService>
get_service_erased
fn get_service_erased(self: &Self, id: &ServiceIdentifier) -> ServiceResult<Option<ErasedService>>
get_services_erased
fn get_services_erased(self: &Self, id: &ServiceIdentifier) -> ServiceResult<Vec<ErasedService>>
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.