ZeroInstall.Store.ViewModel.CacheNodeBuilder.Add C# (CSharp) Method

Add() private method

private Add ( CacheNode entry ) : void
entry CacheNode
return void
        private void Add(CacheNode entry)
        {
            // Avoid name collisions by incrementing suffix
            while (Nodes.Contains(entry.Name)) entry.SuffixCounter++;

            Nodes.Add(entry);
        }
    }

Same methods

CacheNodeBuilder::Add ( Feed feed ) : void
CacheNodeBuilder::Add ( ManifestDigest digest ) : void
CacheNodeBuilder::Add ( string path ) : void