public bool RemoveLinkSource(ReferenceLinkSource linkSource)
        {
            BuildExceptions.NotNull(linkSource, "linkSource");

            if (_topicLinks == null || _topicLinks.Count == 0)
            {
                return(false);
            }

            return(_topicLinks.Remove(linkSource));
        }
Beispiel #2
0
        public void Remove(ReferenceTypeFilter item)
        {
            BuildExceptions.NotNull(item, "item");

            if (_listTypes.Count == 0)
            {
                return;
            }

            _listTypes.Remove(item);
        }
Beispiel #3
0
        public bool Remove(ReferenceItem item)
        {
            BuildExceptions.NotNull(item, "item");

            if (_listItems.Count == 0)
            {
                return(false);
            }

            return(_listItems.Remove(item));
        }
Beispiel #4
0
        /// <summary>
        /// Removes the specified item from the list of items.
        /// </summary>
        /// <param name="item">The item to be removed from the list.</param>
        /// <returns>
        /// This returns <see langword="true"/> if the item is included in the
        /// list and is successfully removed; otherwise, this returns <see langword="false"/>.
        /// </returns>
        /// <exception cref="item">
        /// If the <paramref name="ArgumentNullException"/> is <see langword="null"/>.
        /// </exception>
        public bool Remove(ReferenceVsNetItem item)
        {
            BuildExceptions.NotNull(item, "item");

            return(_listItems.Remove(item));
        }