AA.Compare Project to Match not runToDoCollectionFirst

Removed Layered AppSettings with Nested Objects at First Level
This commit is contained in:
2024-12-28 19:34:09 -07:00
parent 3ff8153393
commit 0215e838e7
110 changed files with 6331 additions and 1275 deletions

View File

@ -0,0 +1,29 @@
using System.Collections.ObjectModel;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace View_by_Distance.Shared.Models;
public record ReadOnlyCollections(ReadOnlyCollection<long> JLinkResolvedPersonKeys,
ReadOnlyCollection<PersonContainer> PersonContainers,
ReadOnlyCollection<string> PersonKeyFormattedCollection,
ReadOnlyDictionary<string, string> PersonKeyFormattedToNewestPersonKeyFormatted,
ReadOnlyCollection<long> PersonKeys,
ReadOnlyDictionary<int, List<FilePathAndWholePercentages>> SkipCollection,
ReadOnlyDictionary<int, List<FilePathAndWholePercentages>> SkipNotSkipCollection,
ReadOnlyCollection<string> SkipNotSkipDirectories)
{
public override string ToString()
{
string result = JsonSerializer.Serialize(this, ReadOnlyCollectionsSourceGenerationContext.Default.ReadOnlyCollections);
return result;
}
}
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
[JsonSerializable(typeof(ReadOnlyCollections))]
public partial class ReadOnlyCollectionsSourceGenerationContext : JsonSerializerContext
{
}