Add supported for key mediator handelrs

This commit is contained in:
TheXamlGuy
2024-06-02 15:00:59 +01:00
parent c24538f545
commit 48b33416c9
7 changed files with 104 additions and 39 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
public record Aggregate
{
public static AggregateEventArgs<TValue, TOptions> As<TValue, TOptions>(TOptions options)
public static AggerateEventArgs<TValue, TOptions> As<TValue, TOptions>(TOptions options)
where TOptions : class => new(options);
public static AggerateEventArgs<TValue> As<TValue>() =>
new AggerateEventArgs<TValue>();
new();
}