Show / Hide Table of Contents

    Interface IProvider

    IProvider provides an instance for the IBinding that contains this IProvider.

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

    Properties

    ContractType

    The ContractType of this IProvider. This is usually the same as the ContractType that is associated with this IProvider

    Declaration
    Type ContractType { get; }
    Property Value
    Type Description
    Type

    WasCached

    Was the instance cached or a newly created by the IProvider. This is used by the IInjector to determine if the instance needs to be injected.

    Declaration
    bool WasCached { get; }
    Property Value
    Type Description
    Boolean

    Methods

    GetInstance()

    Returns an instance object that is either cached or newly created.

    Declaration
    object GetInstance()
    Returns
    Type Description
    Object
    Back to top Copyright © 2020 East Side Games Inc.