Show / Hide Table of Contents

    Interface IBinder

    Allows the creation and deletion of IBinding which is a mapping contract that contains optional information between a Type and a provider IProvider of a dependency denoted by the Type.

    Namespace: IdleKit.Core
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IBinder

    Methods

    Bind(Type)

    Create the IBinding with the contract type.

    Declaration
    IBinding Bind(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    IBinding

    Bind<TContract>()

    Create the IBinding with the contract TContract.

    Declaration
    IBinding Bind<TContract>()
    Returns
    Type Description
    IBinding
    Type Parameters
    Name Description
    TContract

    Unbind(Type)

    Remove the IBinding that is associated with the type type

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

    Unbind(Type, Object)

    Remove the IBinding that is associated with the type type and id

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

    Unbind<TContract>()

    Remove the IBinding that is associated with the type TContract

    Declaration
    bool Unbind<TContract>()
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TContract

    Unbind<TContract>(Object)

    Remove the IBinding that is associated with the type TContract and id

    Declaration
    bool Unbind<TContract>(object id)
    Parameters
    Type Name Description
    Object id
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TContract
    Back to top Copyright © 2020 East Side Games Inc.