feat: finish int implementation.

This commit is contained in:
rabbitism
2024-01-14 22:11:23 +08:00
parent aea5ebb1a4
commit 631913145b
5 changed files with 470 additions and 53 deletions

View 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; }
}