Search Results for

    Show / Hide Table of Contents

    Class EnumWrapper<T>

    A strongly typed version of the EnumWrapper for a specific Enum type. This ensures it holds the enum value correctly typed

    Inheritance
    object
    EnumWrapper
    EnumWrapper<T>
    Implements
    IEquatable<EnumWrapper>
    Inherited Members
    EnumWrapper.Equals(EnumWrapper)
    EnumWrapper.Create<T>(T, short, string, string)
    EnumWrapper.Create(Type, object, short, string, string)
    EnumWrapper.Equals(object)
    EnumWrapper.GetHashCode()
    EnumWrapper.Tooltip
    EnumWrapper.Order
    EnumWrapper.Label
    EnumWrapper.DecimalValue
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: LemonEdge.Utils
    Assembly: LemonEdge.Utils.dll
    Syntax
    public class EnumWrapper<T> : EnumWrapper, IEquatable<EnumWrapper>
    Type Parameters
    Name Description
    T

    The type of Enum

    Constructors

    EnumWrapper()

    Declaration
    public EnumWrapper()

    Properties

    ObjValue

    Returns the Value holding the actual enum value

    Declaration
    public override object ObjValue { get; set; }
    Property Value
    Type Description
    object
    Overrides
    EnumWrapper.ObjValue

    Value

    The actual enum value being wrapped

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

    Implements

    IEquatable<T>

    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.