static internal void GatherKeys <TKey>(IReadOnlyPropertyBlock <TKey> inBlock, HashSet <TKey> ioKeys) where TKey : IEquatable <TKey> { foreach (var key in inBlock.Keys(false)) { ioKeys.Add(key); } if (inBlock.Prototype != null) { GatherKeys(inBlock.Prototype, ioKeys); } }
static public object Get <TKey>(this IReadOnlyPropertyBlock <TKey> inPropertyBlock, TKey inKey) where TKey : IEquatable <TKey> { return(inPropertyBlock.Get <object>(inKey)); }