Improved event naming
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record Deactivated;
|
||||
public record Deactivated
|
||||
{
|
||||
public static DeactivatedEventArgs<TValue> As<TValue>(TValue value) => new(value);
|
||||
|
||||
public static DeactivatedEventArgs<TValue> As<TValue>() where TValue : new() => new(new TValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user