Show / Hide Table of Contents

    Interface IContext

    The IContext class hosts the dependency IContainer and the blueprints of most of the dependencies to its contract types. It uses the IInstaller during Bind() and Unbind() to setup and teardown the dependency graph in the IContainer.

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

    Properties

    Container

    Returns the dependency IContainer stored.

    Declaration
    IContainer Container { get; }
    Property Value
    Type Description
    IContainer

    Installer

    Returns the IInstaller that is being used.

    Declaration
    IInstaller Installer { get; }
    Property Value
    Type Description
    IInstaller

    Methods

    Bind()

    Binds all the dependency to its contract type.

    Declaration
    void Bind()

    Unbind()

    Unbinds all the dependency from its contract type

    Declaration
    void Unbind()
    Back to top Copyright © 2020 East Side Games Inc.