Exemple #1
0
        private void AddEntry(string topicId, string linkTitle, string uri)
        {
            if (_entryDictionary.ContainsKey(uri))
            {
                return;
            }

            var entry = new TopicIndexEntry
            {
                TopicId   = topicId,
                LinkTitle = linkTitle,
                Uri       = uri
            };

            _entries.Add(entry);
            _entryDictionary.Add(uri, entry);
        }
Exemple #2
0
        private void AddEntry(string topicId, string linkTitle, string uri)
        {
            if (_entryDictionary.ContainsKey(uri))
                return;

            var entry = new TopicIndexEntry
                        {
                            TopicId = topicId,
                            LinkTitle = linkTitle,
                            Uri = uri
                        };
            _entries.Add(entry);
            _entryDictionary.Add(uri, entry);
        }