Implementation of Properties collection for the GlobalContext
Inheritance Hierarchy
log4net.UtilContextPropertiesBase
log4net.UtilGlobalContextProperties
Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The GlobalContextProperties type exposes the following members.
Properties
Name | Description | |
---|---|---|
Item |
Gets or sets the value of a property
(Overrides ContextPropertiesBaseItemString.) |
Methods
Name | Description | |
---|---|---|
Clear |
Clear the global context properties
| |
Equals | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
Remove |
Remove a property from the global context
| |
ToString | (Inherited from Object.) |
Remarks
This class implements a properties collection that is thread safe and supports both storing properties and capturing a read only copy of the current propertied.
This class is optimized to the scenario where the properties are read frequently and are modified infrequently.
See Also