namespace Toolkit.Foundation; public record Replace { public static ReplaceEventArgs As(int index, TValue value) => new(value, index); public static ReplaceEventArgs As(int index) where TValue : new() => new(index); }