13 lines
312 B
C#
13 lines
312 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace File_Watcher.Models;
|
|
|
|
public record Test(string Name,
|
|
long Value);
|
|
|
|
[JsonSourceGenerationOptions(WriteIndented = true)]
|
|
[JsonSerializable(typeof(Test[]))]
|
|
internal partial class TestCollectionSourceGenerationContext : JsonSerializerContext
|
|
{
|
|
}
|