riversong code showcase

This commit is contained in:
Daniele Marotta
2026-05-21 15:52:18 +02:00
commit 4c9eea1c02
462 changed files with 23406 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using System.Collections.Generic;
namespace DanieleMarotta.RiversongCodeShowcase
{
public interface IMultiDictionary<K, V, C> : IEnumerable<KeyValuePair<K, V>> where C : ICollection<V>
{
C this[K key] { get; }
Dictionary<K, C>.KeyCollection Keys { get; }
int KeyCount { get; }
int ValueCount { get; }
int Count(K key);
bool Add(K key, V value);
bool Remove(K key, V value);
bool Remove(V value);
void Clear(K key);
void Clear();
bool ContainsKey(K key);
bool ContainsValue(K key, V value);
bool ContainsValue(V value);
bool TryGetValues(K key, out C values);
}
}