=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -10,12 +10,14 @@ namespace adas_core.Domain.Utils;
/// <remarks>
/// Inherits from <see cref="Dictionary{TKey, TValue}"/> and enforces that both keys and values are non-nullable.
/// </remarks>
/// <!-- aidoc:v1 sig=1d1f5d7 -->
public class ComparableDictionary<TKey, TValue> : Dictionary<TKey, TValue> where TKey : notnull where TValue : notnull
{
/// <summary>
/// Generates a hash code for the collection by concatenating the string representations of all key-value pairs, separated by underscores and double percent signs, and returning the hash code of the resulting string.
/// </summary>
/// <returns>An integer hash code derived from the concatenated key-value pairs of the collection.</returns>
/// <!-- aidoc:v1 sig=eb26c4a body=e3340b4 -->
public override int GetHashCode()
{
StringBuilder str = new();