XmlCommentsFileCollection Class

This collection class is used to hold the XML comments files during the build process

Definition

Namespace: SandcastleBuilder.Utils.BuildEngine
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.12.21.0
public class XmlCommentsFileCollection : BindingList<XmlCommentsFile>
Inheritance
Object    CollectionXmlCommentsFile    BindingListXmlCommentsFile    XmlCommentsFileCollection

Constructors

XmlCommentsFileCollectionInitializes a new instance of the XmlCommentsFileCollection class

Properties

AllowEditGets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListXmlCommentsFile)
AllowNewGets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListXmlCommentsFile)
AllowRemoveGets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListXmlCommentsFile)
ContainsInheritedDocumentation This read-only property returns true if any of the comments files contain an inheritdoc, AttachedPropertyComments, or AttachedEventComments tag indicating that the Inherited Documentation tool will need to be ran.
CountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionXmlCommentsFile)
IsSortedCoreGets a value indicating whether the list is sorted.
(Inherited from BindingListXmlCommentsFile)
ItemGets or sets the element at the specified index.
(Inherited from CollectionXmlCommentsFile)
ItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionXmlCommentsFile)
RaiseListChangedEventsGets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListXmlCommentsFile)
SortDirectionCoreGets the direction the list is sorted.
(Inherited from BindingListXmlCommentsFile)
SortPropertyCoreGets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns .
(Inherited from BindingListXmlCommentsFile)
SupportsChangeNotificationCoreGets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListXmlCommentsFile)
SupportsSearchingCoreGets a value indicating whether the list supports searching.
(Inherited from BindingListXmlCommentsFile)
SupportsSortingCoreGets a value indicating whether the list supports sorting.
(Inherited from BindingListXmlCommentsFile)

Methods

AddAdds an object to the end of the CollectionT.
(Inherited from CollectionXmlCommentsFile)
AddNewAdds a new item to the collection.
(Inherited from BindingListXmlCommentsFile)
AddNewCoreAdds a new item to the end of the collection.
(Inherited from BindingListXmlCommentsFile)
ApplySortCoreSorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingListXmlCommentsFile)
CancelNewDiscards a pending new item.
(Inherited from BindingListXmlCommentsFile)
ClearRemoves all elements from the CollectionT.
(Inherited from CollectionXmlCommentsFile)
ClearItemsRemoves all elements from the collection.
(Inherited from BindingListXmlCommentsFile)
ContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionXmlCommentsFile)
CopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionXmlCommentsFile)
EndNewCommits a pending new item to the collection.
(Inherited from BindingListXmlCommentsFile)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FindCoreSearches 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 BindingListXmlCommentsFile)
FindMember Search all comments files for the specified member. If not found, add the blank member to the first file.
GetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionXmlCommentsFile)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetReferencedNamespaces This is used to get an enumerable list of unique namespaces referenced in the XML comments files
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionXmlCommentsFile)
InsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionXmlCommentsFile)
InsertItemInserts the specified item in the list at the specified index.
(Inherited from BindingListXmlCommentsFile)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnAddingNewRaises the AddingNew event.
(Inherited from BindingListXmlCommentsFile)
OnListChangedRaises the ListChanged event.
(Inherited from BindingListXmlCommentsFile)
RemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionXmlCommentsFile)
RemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionXmlCommentsFile)
RemoveItemRemoves the item at the specified index.
(Inherited from BindingListXmlCommentsFile)
RemoveSortCoreRemoves any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingListXmlCommentsFile)
ReplaceNamespaceDocEntries This will search for all type member comments where the ID contains NamespaceDoc or NamespaceGroupDoc and convert them to namespace and namespace group entries for the containing namespace.
ResetBindingsRaises a ListChanged event of type Reset.
(Inherited from BindingListXmlCommentsFile)
ResetItemRaises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListXmlCommentsFile)
Save Save the comments files
SetItemReplaces the item at the specified index with the specified item.
(Inherited from BindingListXmlCommentsFile)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

AddingNewOccurs before an item is added to the list.
(Inherited from BindingListXmlCommentsFile)
ListChangedOccurs when the list or an item in the list changes.
(Inherited from BindingListXmlCommentsFile)

See Also