Constructor PopupListData
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
PopupListData(string)
Initializes a new instance of the PopupListData class stores the key used to retrieve the values.
public PopupListData(string valuesRetrieverKey)
Parameters
valuesRetrieverKey
stringThe key used to retrieve the values for the popup list. For the mechanism to work, they retriever should dbe registered with RegisterValuesRetriever<T>(string, Func<IEnumerable<T>>).
Remarks
RetrievalMethod will be set to FuncKey.
PopupListData(ValuesRetrievalMethod)
Initializes a new instance of the PopupListData class that indicates that the given method will be used to retrieve values for the popup list.
protected PopupListData(ValuesRetrievalMethod retrievalMethod)
Parameters
retrievalMethod
ValuesRetrievalMethodThe method used to retrieve the values for the popup list.