Class EnumWithSelectedValue<TAPIEnum>
Inheritance
System.Object
EnumWithSelectedValue<TAPIEnum>
Assembly: SMT.MastaAPI.15.0.dll
Syntax
public sealed 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
public static implicit operator EnumWithSelectedValue<TAPIEnum>(TAPIEnum apiEnum)
Parameters
Type |
Name |
Description |
TAPIEnum |
apiEnum |
|
Returns
Implicit(EnumWithSelectedValue<TAPIEnum> to TAPIEnum)
Declaration
public static implicit operator TAPIEnum(EnumWithSelectedValue<TAPIEnum> apiEnumWithSelectedValue)
Parameters
Returns
Type |
Description |
TAPIEnum |
|