Click or drag to resize
Sandcastle Help File BuilderApiFilterCollection Class
This collection class is used to hold the API filter entries for MRefBuilder to remove
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionApiFilter
    System.ComponentModelBindingListApiFilter
      SandcastleBuilder.UtilsApiFilterCollection

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public class ApiFilterCollection : BindingList<ApiFilter>, 
	ICloneable

The ApiFilterCollection type exposes the following members.

Constructors
  NameDescription
Public methodApiFilterCollection
Constructor
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionApiFilter.)
Public methodAddNamespaceChild
Add a new type entry to this namespace collection
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingListApiFilter.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingListApiFilter.)
Public methodAddTypeChild
Add a new member entry to this type collection
Protected methodApplySortCore
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingListApiFilter.)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingListApiFilter.)
Public methodClear (Inherited from CollectionApiFilter.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from BindingListApiFilter.)
Public methodClone
Clone the API filter collection
Public methodContains (Inherited from CollectionApiFilter.)
Public methodCopyTo (Inherited from CollectionApiFilter.)
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingListApiFilter.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindCore
Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
(Inherited from BindingListApiFilter.)
Public methodFromXml
This is used to load existing API filter items from the project file.
Public methodGetEnumerator (Inherited from CollectionApiFilter.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionApiFilter.)
Public methodInsert (Inherited from CollectionApiFilter.)
Protected methodInsertItem
Inserts the specified item in the list at the specified index.
(Inherited from BindingListApiFilter.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMergeEntry
This is used to merge an entry with the filter collection
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingListApiFilter.)
Protected methodOnListChanged
This is overridden to mark the collection as dirty when it changes
(Overrides BindingListTOnListChanged(ListChangedEventArgs).)
Public methodRemove (Inherited from CollectionApiFilter.)
Public methodRemoveAt (Inherited from CollectionApiFilter.)
Protected methodRemoveItem
Removes the item at the specified index.
(Inherited from BindingListApiFilter.)
Protected methodRemoveSortCore
Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingListApiFilter.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingListApiFilter.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListApiFilter.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingListApiFilter.)
Public methodSort
This is used to sort the collection
Public methodToString
Convert the API filter entry and its children to a string
(Overrides ObjectToString.)
Public methodToXml
This is used to write the API filter info to an XML fragment ready for storing in the project file.
Top
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListApiFilter.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListApiFilter.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListApiFilter.)
Public propertyCount (Inherited from CollectionApiFilter.)
Public propertyIsDirty
This is used to get or set the dirty state of the collection
Protected propertyIsSortedCore
Gets a value indicating whether the list is sorted.
(Inherited from BindingListApiFilter.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionApiFilter.)
Protected propertyItems (Inherited from CollectionApiFilter.)
Public propertyProject
This is used to get a reference to the project that owns the collection.
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListApiFilter.)
Protected propertySortDirectionCore
Gets the direction the list is sorted.
(Inherited from BindingListApiFilter.)
Protected propertySortPropertyCore
Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.
(Inherited from BindingListApiFilter.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListApiFilter.)
Protected propertySupportsSearchingCore
Gets a value indicating whether the list supports searching.
(Inherited from BindingListApiFilter.)
Protected propertySupportsSortingCore
Gets a value indicating whether the list supports sorting.
(Inherited from BindingListApiFilter.)
Top
Events
  NameDescription
Public eventAddingNew
Occurs before an item is added to the list.
(Inherited from BindingListApiFilter.)
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingListApiFilter.)
Top
Remarks
Note Note
Unlike other collections in the project, this one is cleared and rebuilt if it changes. As such, the contained items do not notify the project when they change as they are created anew each time the collection is rebuilt.
See Also