Пример #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);
            }
        }