feat: pre job: change events to routed events.
This commit is contained in:
18
src/Ursa/EventArgs/ResultEventArgs.cs
Normal file
18
src/Ursa/EventArgs/ResultEventArgs.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Avalonia.Interactivity;
|
||||
|
||||
namespace Ursa.EventArgs;
|
||||
|
||||
public class ResultEventArgs: RoutedEventArgs
|
||||
{
|
||||
public object? Result { get; set; }
|
||||
|
||||
public ResultEventArgs(object? result)
|
||||
{
|
||||
Result = result;
|
||||
}
|
||||
|
||||
public ResultEventArgs(RoutedEvent routedEvent, object? result): base(routedEvent)
|
||||
{
|
||||
Result = result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user