Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 static public object Get <TKey>(this IReadOnlyPropertyBlock <TKey> inPropertyBlock, TKey inKey) where TKey : IEquatable <TKey>
 {
     return(inPropertyBlock.Get <object>(inKey));
 }