FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IReadonlyDependencyResolver

    trait · ferroui-splat · v0.5.0

    trait IReadonlyDependencyResolver
    

    Resolves services (IReadonlyDependencyResolver).

    The methods are the object-safe core: callers use the generic forms of ReadonlyDependencyResolverExt.

    View source

    Members

    get_service_erased

    fn get_service_erased(self: &Self, service_type: ServiceType, contract: Option<&str>) -> Option<ErasedService>
    

    The last service registered for service_type and contract, or None (GetService<T>(string? contract)).

    Source

    get_services_erased

    fn get_services_erased(self: &Self, service_type: ServiceType, contract: Option<&str>) -> Vec<ErasedService>
    

    Every service registered for service_type and contract, in the order of registration (GetServices<T>(string? contract)).

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.