PluginCollection ClassApache log4net™ SDK Documentation
A strongly-typed collection of IPlugin objects.
Inheritance Hierarchy

SystemObject
  log4net.PluginPluginCollection

Namespace: log4net.Plugin
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public class PluginCollection : IList, 
	ICollection, IEnumerable, ICloneable

The PluginCollection type exposes the following members.

Properties

  NameDescription
Public propertyCapacity
Gets or sets the number of elements the PluginCollection can contain.
Public propertyCount
Gets the number of elements actually contained in the PluginCollection.
Public propertyIsFixedSize
Gets a value indicating whether the collection has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the IList is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread-safe).
Public propertyItem
Gets or sets the IPlugin at the specified index.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the collection.
Top
Methods

  NameDescription
Public methodAdd
Adds a IPlugin to the end of the PluginCollection.
Public methodAddRange(ICollection)
Adds the elements of a IPlugin collection to the current PluginCollection.
Public methodAddRange(IPlugin)
Adds the elements of a IPlugin array to the current PluginCollection.
Public methodAddRange(PluginCollection)
Adds the elements of another PluginCollection to the current PluginCollection.
Public methodClear
Removes all elements from the PluginCollection.
Public methodClone
Creates a shallow copy of the PluginCollection.
Public methodContains
Determines whether a given IPlugin is in the PluginCollection.
Public methodCopyTo(IPlugin)
Copies the entire PluginCollection to a one-dimensional IPlugin array.
Public methodCopyTo(IPlugin, Int32)
Copies the entire PluginCollection to a one-dimensional IPlugin array, starting at the specified index of the target array.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that can iterate through the PluginCollection.
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
Returns the zero-based index of the first occurrence of a IPlugin in the PluginCollection.
Public methodInsert
Inserts an element into the PluginCollection at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberReadOnly
Creates a read-only wrapper for a PluginCollection instance.
Public methodRemove
Removes the first occurrence of a specific IPlugin from the PluginCollection.
Public methodRemoveAt
Removes the element at the specified index of the PluginCollection.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTrimToSize
Sets the capacity to the actual number of elements.
Top
See Also

Reference