break wallet navigation off into seperate view

This commit is contained in:
TheXamlGuy
2024-07-10 15:21:02 +01:00
parent 38e2913cab
commit d87fa37d09
2 changed files with 13 additions and 5 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
public record Selection
{
public static SelectionEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static SelectionEventArgs<TSender?> As<TSender>(TSender? sender) =>
new(sender);
public static SelectionEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
public static SelectionEventArgs<TSender?> As<TSender>() where TSender : new() =>
new(new TSender());
}