Files
Toolkit2/Toolkit.Foundation/Write.cs
T
2024-11-29 21:20:14 +00:00

10 lines
251 B
C#

namespace Toolkit.Foundation;
public class Write
{
public static WriteEventArgs<TValue> As<TValue>(TValue value) =>
new(value);
public static WriteEventArgs<TValue> As<TValue>() where TValue : new() =>
new(new TValue());
}