Click or drag to resize

ExtensionCollection Class

This is preliminary documentation and is subject to change.

Provides read-only access to extension collection.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelReadOnlyCollectionExtensionInfo
    WikiClientLibrary.SitesExtensionCollection

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class ExtensionCollection : ReadOnlyCollection<ExtensionInfo>

The ExtensionCollection type exposes the following members.

Properties
 NameDescription
Public propertyCountGets the number of elements contained in the ReadOnlyCollectionT instance.
(Inherited from ReadOnlyCollectionExtensionInfo)
Public propertyItemInt32Gets the element at the specified index.
(Inherited from ReadOnlyCollectionExtensionInfo)
Public propertyItemString Gets the extension with specified name. The match is case-sensitive.
Protected propertyItemsReturns the IListT that the ReadOnlyCollectionT wraps.
(Inherited from ReadOnlyCollectionExtensionInfo)
Top
Methods
 NameDescription
Public methodContains(T)Determines whether an element is in the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionExtensionInfo)
Public methodContains(String) Determines whether there's an extensions with specified name. The match is case-sensitive.
Public methodCopyToCopies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollectionExtensionInfo)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionExtensionInfo)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionExtensionInfo)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGet Tries to get the extension with specified name. The match is case-sensitive.
Top
Explicit Interface Implementations
 NameDescription
Explicit interface implementationPrivate methodICollectionTAddAdds an item to the ICollectionT. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListAddAdds an item to the IList. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodICollectionTClearRemoves all items from the ICollectionT. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListClearRemoves all items from the IList. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListContainsDetermines whether the IList contains a specific value.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodICollectionCopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListIndexOfDetermines the index of a specific item in the IList.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListTInsertInserts an item to the IListT at the specified index. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListInsertInserts an item to the IList at the specified index. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyIListIsFixedSizeGets a value indicating whether the IList has a fixed size.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyICollectionTIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyIListIsReadOnlyGets a value indicating whether the IList is read-only.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyICollectionIsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyIListTItemGets the element at the specified index. An NotSupportedException occurs if you try to set the item at the specified index.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyIListItemGets the element at the specified index. A NotSupportedException occurs if you try to set the item at the specified index.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodICollectionTRemoveRemoves the first occurrence of a specific object from the ICollectionT. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListRemoveRemoves the first occurrence of a specific object from the IList. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListTRemoveAtRemoves the IListT item at the specified index. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate methodIListRemoveAtRemoves the IList item at the specified index. This implementation always throws NotSupportedException.
(Inherited from ReadOnlyCollectionExtensionInfo)
Explicit interface implementationPrivate propertyICollectionSyncRootGets an object that can be used to synchronize access to the ICollection.
(Inherited from ReadOnlyCollectionExtensionInfo)
Top
See Also