Class ListWithSelectedItem<T>
Inheritance
System.Object
ListWithSelectedItem<T>
Implements
SMT.MastaAPIUtility.Scripting.IWrapSMTType
Assembly: SMT.MastaAPI.15.0.dll
Syntax
public class ListWithSelectedItem<T> : APIBase, IEquatable<APIBase>, IListWithSelectedItem, IWrapSMTType
Type Parameters
Constructors
ListWithSelectedItem(T)
Declaration
public ListWithSelectedItem(T selectedValue)
Parameters
Type |
Name |
Description |
T |
selectedValue |
|
ListWithSelectedItem(T, IEnumerable<T>)
Declaration
public ListWithSelectedItem(T selectedValue, IEnumerable<T> possibleValues)
Parameters
Type |
Name |
Description |
T |
selectedValue |
|
System.Collections.Generic.IEnumerable<T> |
possibleValues |
|
Properties
AvailableValues
Declaration
public T[] AvailableValues { get; }
Property Value
SelectedValue
Declaration
public T SelectedValue { get; }
Property Value
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Wrapped()
Declaration
Returns
Type |
Description |
System.Object |
|
Operators
Implicit(T to ListWithSelectedItem<T>)
Declaration
public static implicit operator ListWithSelectedItem<T>(T selectedValue)
Parameters
Type |
Name |
Description |
T |
selectedValue |
|
Returns
Implicit(ListWithSelectedItem<T> to T)
Declaration
public static implicit operator T(ListWithSelectedItem<T> apiListWithSelectedItem)
Parameters
Returns
Explicit Interface Implementations
IListWithSelectedItem.SelectedValue
Declaration
object IListWithSelectedItem.SelectedValue { get; }
Returns
Type |
Description |
System.Object |
|
Implements
System.IEquatable<T>
SMT.MastaAPIUtility.Scripting.IWrapSMTType
Extension Methods