Show / Hide Table of Contents

    Interface ITypedResolver<T>

    A specialized interface version of IResolver that only allows resolving of T granting limited accesses to the IContainer.

    Inherited Members
    IInjectable.Inject(IResolver)
    Namespace: IdleKit.Core
    Assembly: cs.temp.dll.dll
    Syntax
    public interface ITypedResolver<in T> : IInjectable
    Type Parameters
    Name Description
    T

    Methods

    CanResolve(Type)

    Check if the dependency based on the type type exists in the IContainer.

    Declaration
    bool CanResolve(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Boolean

    CanResolve(Type, Object)

    Check if the dependency based on the type type associated with the id exists in the IContainer

    Declaration
    bool CanResolve(Type type, object id)
    Parameters
    Type Name Description
    Type type
    Object id
    Returns
    Type Description
    Boolean

    CanResolve<TContract>()

    Check if the dependency based on the TContract type exists in the IContainer.

    Declaration
    bool CanResolve<TContract>()
        where TContract : T
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TContract

    CanResolve<TContract>(Object)

    Check if the dependency based on the TContract type associated with the id type exists in the IContainer.

    Declaration
    bool CanResolve<TContract>(object id)
        where TContract : T
    Parameters
    Type Name Description
    Object id
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TContract

    Resolve<TContract>()

    Resolve and return the dependency based on the TContract type.

    Declaration
    TContract Resolve<TContract>()
        where TContract : T
    Returns
    Type Description
    TContract
    Type Parameters
    Name Description
    TContract

    Resolve<TContract>(Object)

    Resolve and return the dependency based on the TContract type associated with the id.

    Declaration
    TContract Resolve<TContract>(object id)
        where TContract : T
    Parameters
    Type Name Description
    Object id
    Returns
    Type Description
    TContract
    Type Parameters
    Name Description
    TContract

    ResolveAll<TContract>()

    Resolve and return all the dependencies based on the TContract type.

    Declaration
    TContract[] ResolveAll<TContract>()
        where TContract : T
    Returns
    Type Description
    TContract[]
    Type Parameters
    Name Description
    TContract

    ResolveAll<TContract>(Object[])

    Resolve and return all the dependencies based on the TContract type associated with the ids.

    Declaration
    TContract[] ResolveAll<TContract>(object[] ids)
        where TContract : T
    Parameters
    Type Name Description
    Object[] ids
    Returns
    Type Description
    TContract[]
    Type Parameters
    Name Description
    TContract

    ResolveAll<TContract>(Predicate<TContract>)

    Resolve and return all the dependencies that satisfied the predicate.

    Declaration
    TContract[] ResolveAll<TContract>(Predicate<TContract> predicate)
        where TContract : T
    Parameters
    Type Name Description
    Predicate<TContract> predicate
    Returns
    Type Description
    TContract[]
    Type Parameters
    Name Description
    TContract
    Back to top Copyright © 2020 East Side Games Inc.