Show / Hide Table of Contents

    Interface IProvider

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

    Namespace: IdleKit.IoC
    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.