Improved event naming

This commit is contained in:
TheXamlGuy
2024-05-12 19:55:20 +01:00
parent 9eafcc55d0
commit f0fd68c16e
56 changed files with 169 additions and 131 deletions
-13
View File
@@ -1,18 +1,5 @@
namespace Toolkit.Foundation;
public record Enumerate<TValue> :
IEnumerate
{
public object? Key { get; init; }
public EnumerateMode Mode { get; init; }
public static Enumerate<TValue, TOptions> With<TOptions>(TOptions options) where TOptions : class
{
return new Enumerate<TValue, TOptions>(options);
}
}
public record Enumerate<TValue, TOptions>(TOptions? Options = null) :
IEnumerate
where TOptions : class