A strongly-typed collection of IAppender objects.
Inheritance Hierarchy
log4net.AppenderAppenderCollection
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
The AppenderCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Capacity |
Gets or sets the number of elements the AppenderCollection can contain.
| |
| Count |
Gets the number of elements actually contained in the AppenderCollection.
| |
| 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 IAppender at the specified index.
| |
| SyncRoot |
Gets an object that can be used to synchronize access to the collection.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a IAppender to the end of the AppenderCollection.
| |
| AddRange(ICollection) |
Adds the elements of a IAppender collection to the current AppenderCollection.
| |
| AddRange(AppenderCollection) |
Adds the elements of another AppenderCollection to the current AppenderCollection.
| |
| AddRange(IAppender) |
Adds the elements of a IAppender array to the current AppenderCollection.
| |
| Clear |
Removes all elements from the AppenderCollection.
| |
| Clone |
Creates a shallow copy of the AppenderCollection.
| |
| Contains |
Determines whether a given IAppender is in the AppenderCollection.
| |
| CopyTo(IAppender) |
Copies the entire AppenderCollection to a one-dimensional
IAppender array.
| |
| CopyTo(IAppender, Int32) |
Copies the entire AppenderCollection to a one-dimensional
IAppender array, starting at the specified index of the target array.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that can iterate through the AppenderCollection.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf |
Returns the zero-based index of the first occurrence of a IAppender
in the AppenderCollection.
| |
| Insert |
Inserts an element into the AppenderCollection at the specified index.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReadOnly |
Creates a read-only wrapper for a AppenderCollection instance.
| |
| Remove |
Removes the first occurrence of a specific IAppender from the AppenderCollection.
| |
| RemoveAt |
Removes the element at the specified index of the AppenderCollection.
| |
| ToArray |
Return the collection elements as an array
| |
| ToString | (Inherited from Object.) | |
| TrimToSize |
Sets the capacity to the actual number of elements.
|
Fields
| Name | Description | |
|---|---|---|
| EmptyCollection |
An empty readonly static AppenderCollection
|
See Also