private record

This commit is contained in:
2024-10-19 09:32:22 -07:00
parent 0ee1846c72
commit 19326df4c6
27 changed files with 206 additions and 168 deletions

View File

@ -7,12 +7,12 @@ namespace File_Folder_Helper.ADO2024.PI3;
internal static partial class Helper20240925
{
public record Test(string Name,
long Value);
private record Test(string Name,
long Value);
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(ReadOnlyCollection<Test>))]
internal partial class TestCollectionSourceGenerationContext : JsonSerializerContext
private partial class TestCollectionSourceGenerationContext : JsonSerializerContext
{
}