ConfiguratorAttribute Class | Apache log4net™ SDK Documentation

Base class for all log4net configuration attributes.
Inheritance Hierarchy

System
Object
System
Attribute
log4net.Config
ConfiguratorAttribute
log4net.Config
SecurityContextProviderAttribute
log4net.Config
XmlConfiguratorAttribute

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

C#
VB
C++
F#
Copy

    public abstract class ConfiguratorAttribute : Attribute,
    	IComparable

    Public MustInherit Class ConfiguratorAttribute
    	Inherits Attribute
    	Implements IComparable

    public ref class ConfiguratorAttribute abstract : public Attribute,
    	IComparable

    [<AbstractClassAttribute>]
    type ConfiguratorAttribute =
        class
            inherit Attribute
            interface IComparable
        end

The ConfiguratorAttribute type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ConfiguratorAttribute | Constructor used by subclasses.

Top
Properties

| Name | Description
--- | --- | ---
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)

Top
Methods

| Name | Description
--- | --- | ---
| CompareTo | Compare this instance to another ConfiguratorAttribute
| Configure | Configures the ILoggerRepository for the specified assembly.
| Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
| 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.)
| GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
| Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

This is an abstract class that must be extended by specific configurators. This attribute allows the configurator to be parameterized by an assembly level attribute.
See Also

#### Reference

log4net.Config Namespace