log4net SDK Reference

PluginCollection Members

PluginCollection overview

Public Static (Shared) Methods

ReadOnly Creates a read-only wrapper for a PluginCollection instance.

Public Instance Constructors

PluginCollection Overloaded. Initializes a new instance of the PluginCollection class.

Public Instance Properties

Capacity Gets or sets the number of elements the PluginCollection can contain.
Count Gets the number of elements actually contained in the PluginCollection.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the IList is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread-safe).
Item Gets or sets the IPlugin at the specified index.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Public Instance Methods

Add Adds a IPlugin to the end of the PluginCollection.
AddRangeOverloaded. Adds the elements of a IPlugin collection to the current PluginCollection.
Clear Removes all elements from the PluginCollection.
Clone Creates a shallow copy of the PluginCollection.
Contains Determines whether a given IPlugin is in the PluginCollection.
CopyToOverloaded. Copies the entire PluginCollection to a one-dimensional IPlugin array, starting at the specified index of the target array.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator Returns an enumerator that can iterate through the PluginCollection.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IndexOf Returns the zero-based index of the first occurrence of a IPlugin in the PluginCollection.
Insert Inserts an element into the PluginCollection at the specified index.
Remove Removes the first occurrence of a specific IPlugin from the PluginCollection.
RemoveAt Removes the element at the specified index of the PluginCollection.
ToString (inherited from Object) Returns a String that represents the current Object.
TrimToSize Sets the capacity to the actual number of elements.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PluginCollection Class | log4net.Plugin Namespace