Constructor IntPopupAttribute
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
IntPopupAttribute(string)
Marks an int field that should be drawn as a popup list using the given key to retrieve the values.
public IntPopupAttribute(string key)
Parameters
key
stringThe key used to retrieve the integer values for the popup list. The retriever function should be registered with RegisterValuesRetriever<T>(string, Func<IEnumerable<T>>).
IntPopupAttribute(int[])
Marks an int field that should be drawn as a popup list using the given list of values.
public IntPopupAttribute(int[] values)
Parameters
values
int[]The list of integer values for the popup list.