Class ParameterChangedEventArgs<T>
Represents event arguments containing the last and current values of a parameter.
public class ParameterChangedEventArgs<T> : EventArgs
Type Parameters
T
The type of the parameter value.
- Inheritance
-
ParameterChangedEventArgs<T>
- Inherited Members
- Extension Methods
Constructors
ParameterChangedEventArgs(string, T, T)
Initializes a new instance of the ParameterChangedEventArgs<T> class with the specified last and current values.
public ParameterChangedEventArgs(string parameterName, T lastValue, T value)
Parameters
parameterName
stringThe name of the parameter.
lastValue
TThe last value of the parameter.
value
TThe current value of the parameter.
Properties
LastValue
Gets the last value of the parameter.
public T LastValue { get; }
Property Value
- T
ParameterName
Gets the associated parameter name of the component's ParameterAttribute.
public string ParameterName { get; }
Property Value
Value
Gets the current value of the parameter.
public T Value { get; }
Property Value
- T