Constructor PopupListData
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
PopupListData(string)
Creates a new instance of PopupListData<T> that stores the list retriever key.
public PopupListData(string valuesRetrieverKey)
Parameters
valuesRetrieverKeystringThe key of the list retriever used to retrieve the list of values for this popup list.
Remarks
ValuesRetrievalMethod will be set to FuncKey.
PopupListData(T[])
Creates a new instance of PopupListData<T> that stores the given list of values.
public PopupListData(T[] values)
Parameters
valuesT[]The list of values for this popup list.
Remarks
ValuesRetrievalMethod will be set to ValueList.
PopupListData(Func<IEnumerable<T>>)
Initializes a new instance of the PopupListData<T> class stores the given function to retrieve the list of values.
public PopupListData(Func<IEnumerable<T>> listRetriever)
Parameters
listRetrieverFunc<IEnumerable<T>>The function used to retrieve the list of values for this popup list.
Remarks
ValuesRetrievalMethod will be set to Func.