Files
Toolkit2/Toolkit.Foundation/Aggregate.cs
T
2024-05-31 22:50:52 +01:00

11 lines
306 B
C#

namespace Toolkit.Foundation;
public record Aggregate
{
public static AggregateEventArgs<TValue, TOptions> As<TValue, TOptions>(TOptions options)
where TOptions : class => new(options);
public static AggerateEventArgs<TValue> As<TValue>() =>
new AggerateEventArgs<TValue>();
}