Use Value, not sender!!!!!!!!!!!!!!!!!!!!

This commit is contained in:
Dan Clark
2024-11-29 21:20:14 +00:00
parent f9f7339fc6
commit cbc0be4c3d
63 changed files with 193 additions and 192 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
public record Replace
{
public static ReplaceEventArgs<TSender> As<TSender>(int index, TSender sender) => new(sender, index);
public static ReplaceEventArgs<TValue> As<TValue>(int index, TValue value) => new(value, index);
public static ReplaceEventArgs<TSender> As<TSender>(int index) where TSender : new() => new(index);
public static ReplaceEventArgs<TValue> As<TValue>(int index) where TValue : new() => new(index);
}