Search Results for

    Show / Hide Table of Contents

    Class Singleton<T>

    Temporary DI hack for public static references.

    Inheritance
    object
    Singleton<T>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Utils
    Assembly: LemonEdge.Utils.dll
    Syntax
    public class Singleton<T> where T : class
    Type Parameters
    Name Description
    T

    Constructors

    Singleton()

    Declaration
    public Singleton()

    Properties

    Instance

    Declaration
    public T Instance { get; set; }
    Property Value
    Type Description
    T

    Methods

    Reset()

    Declaration
    public void Reset()

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.