Version: 13.0

    Show / Hide Table of Contents

    Class EnumWithSelectedValue<TAPIEnum>

    Inheritance
    System.Object
    System.MarshalByRefObject
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent
    EnumWithSelectedValue<TAPIEnum>
    Inherited Members
    SMT.MastaAPIUtility.MarshalByRefObjectPermanent.InitializeLifetimeService()
    Namespace: SMT.MastaAPI.Utility.Property
    Assembly: SMT.MastaAPI.13.0.dll
    Syntax
    public class EnumWithSelectedValue<TAPIEnum> : MarshalByRefObjectPermanent, IEnumWithSelectedValue
    Type Parameters
    Name Description
    TAPIEnum

    Constructors

    EnumWithSelectedValue(TAPIEnum)

    Declaration
    public EnumWithSelectedValue(TAPIEnum selectedValue)
    Parameters
    Type Name Description
    TAPIEnum selectedValue

    Properties

    AvailableValues

    Declaration
    public TAPIEnum[] AvailableValues { get; }
    Property Value
    Type Description
    TAPIEnum[]

    SelectedValue

    Declaration
    public TAPIEnum SelectedValue { get; }
    Property Value
    Type Description
    TAPIEnum

    Operators

    Implicit(TAPIEnum to EnumWithSelectedValue<TAPIEnum>)

    Declaration
    [Pure]
    public static implicit operator EnumWithSelectedValue<TAPIEnum>(TAPIEnum apiEnum)
    Parameters
    Type Name Description
    TAPIEnum apiEnum
    Returns
    Type Description
    EnumWithSelectedValue<TAPIEnum>

    Implicit(EnumWithSelectedValue<TAPIEnum> to TAPIEnum)

    Declaration
    [Pure]
    public static implicit operator TAPIEnum(EnumWithSelectedValue<TAPIEnum> apiEnumWithSelectedValue)
    Parameters
    Type Name Description
    EnumWithSelectedValue<TAPIEnum> apiEnumWithSelectedValue
    Returns
    Type Description
    TAPIEnum
    Back to top