Class EnumWithSelectedValue<TAPIEnum>
Inheritance
System.Object
System.MarshalByRefObject
SMT.MastaAPIUtility.MarshalByRefObjectPermanent
EnumWithSelectedValue<TAPIEnum>
Inherited Members
SMT.MastaAPIUtility.MarshalByRefObjectPermanent.InitializeLifetimeService()
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
Implicit(EnumWithSelectedValue<TAPIEnum> to TAPIEnum)
Declaration
[Pure]
public static implicit operator TAPIEnum(EnumWithSelectedValue<TAPIEnum> apiEnumWithSelectedValue)
Parameters
Returns
Type |
Description |
TAPIEnum |
|