10 lines
246 B
C#
10 lines
246 B
C#
namespace Wallet;
|
|
|
|
public record Archive
|
|
{
|
|
public static ArchiveEventArgs<TValue> As<TValue>(TValue value) =>
|
|
new(value);
|
|
|
|
public static ArchiveEventArgs<TValue> As<TValue>() where TValue : new() =>
|
|
new(new TValue());
|
|
} |