Use Value, not sender!!!!!!!!!!!!!!!!!!!!
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user