Assembly level attribute to configure the SecurityContextProvider.
Inheritance Hierarchy
SystemAttribute
log4net.ConfigConfiguratorAttribute
log4net.ConfigSecurityContextProviderAttribute
Namespace: log4net.Config
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
[SerializableAttribute] public sealed class SecurityContextProviderAttribute : ConfiguratorAttribute
The SecurityContextProviderAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SecurityContextProviderAttribute |
Construct provider attribute with type specified
|
Properties
Name | Description | |
---|---|---|
![]() | ProviderType |
Gets or sets the type of the provider to use.
|
![]() | TypeId |
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.) |
Methods
Name | Description | |
---|---|---|
![]() | CompareTo |
Compare this instance to another ConfiguratorAttribute
(Inherited from ConfiguratorAttribute.) |
![]() | Configure |
Configures the SecurityContextProvider
(Overrides ConfiguratorAttributeConfigure(Assembly, ILoggerRepository).) |
![]() | Equals |
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.) |
![]() | 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.) |
![]() | ToString | (Inherited from Object.) |
Remarks
This attribute may only be used at the assembly scope and can only be used once per assembly.
Use this attribute to configure the XmlConfigurator without calling one of the [M:XmlConfigurator.Configure()] methods.
See Also