AppenderAttachedImpl Class | Apache log4net™ SDK Documentation

A straightforward implementation of the IAppenderAttachable interface.
Inheritance Hierarchy

System
Object
log4net.Util
AppenderAttachedImpl

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

C#
VB
C++
F#
Copy

    public class AppenderAttachedImpl : IAppenderAttachable

    Public Class AppenderAttachedImpl
    	Implements IAppenderAttachable

    public ref class AppenderAttachedImpl : IAppenderAttachable

    type AppenderAttachedImpl =
        class
            interface IAppenderAttachable
        end

The AppenderAttachedImpl type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| AppenderAttachedImpl | Constructor

Top
Properties

| Name | Description
--- | --- | ---
| Appenders | Gets all attached appenders.

Top
Methods

| Name | Description
--- | --- | ---
| AddAppender | Attaches an appender.
| AppendLoopOnAppenders(LoggingEvent) | Append on on all attached appenders.
| AppendLoopOnAppenders( LoggingEvent ) | Append on on all attached appenders.
| Equals | Determines whether the specified Object is equal to the current Object. (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.)
| GetAppender | Gets an attached appender with the specified name.
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| RemoveAllAppenders | Removes all attached appenders.
| RemoveAppender(String) | Removes the appender with the specified name from the list of appenders.
| RemoveAppender(IAppender) | Removes the specified appender from the list of attached appenders.
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

This is the default implementation of the IAppenderAttachable interface. Implementors of the IAppenderAttachable interface should aggregate an instance of this type.

See Also

#### Reference

log4net.Util Namespace