Class ChoiceChangedEventArgs<T>
Contains all the information about a choice changed event.
public class ChoiceChangedEventArgs<T> : ConfigOptionEventArgs<T>
Type Parameters
T
- Inheritance
-
ChoiceChangedEventArgs<T>
- Inherited Members
- Extension Methods
Constructors
ChoiceChangedEventArgs(string, int, T)
Constructs a new ChoiceChangedEventArgs<T>.
public ChoiceChangedEventArgs(string id, int index, T value)
Parameters
id
string- The ID of the ModChoiceOption<T> that was changed.
index
int- The new index for the ModChoiceOption<T>.
value
T- The value of the ModChoiceOption<T> as a string.
Properties
Index
The new index for the ModChoiceOption<T>.
public int Index { get; }