feat: finish int implementation.
This commit is contained in:
15
src/Ursa/Controls/NumericUpDown/ValueChangedEventArgs.cs
Normal file
15
src/Ursa/Controls/NumericUpDown/ValueChangedEventArgs.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Avalonia.Interactivity;
|
||||
|
||||
namespace Ursa.Controls;
|
||||
|
||||
public class ValueChangedEventArgs<T>: RoutedEventArgs where T: struct, IComparable<T>
|
||||
{
|
||||
public ValueChangedEventArgs(RoutedEvent routedEvent, T? oldValue, T? newValue): base(routedEvent)
|
||||
{
|
||||
OldValue = oldValue;
|
||||
NewValue = newValue;
|
||||
}
|
||||
public T? OldValue { get; }
|
||||
public T? NewValue { get; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user