The implementation of the IRepositorySelector interface suitable
for use with the compact framework
Inheritance Hierarchy
log4net.CoreCompactRepositorySelector
Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The CompactRepositorySelector type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompactRepositorySelector |
Create a new repository selector
|
Methods
Name | Description | |
---|---|---|
CreateRepository(Assembly, Type) |
Create a new repository for the assembly specified
| |
CreateRepository(String, Type) |
Create a new repository for the repository specified
| |
Equals | (Inherited from Object.) | |
ExistsRepository |
Test if a named repository exists
| |
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.) | |
GetAllRepositories |
Gets a list of ILoggerRepository objects
| |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetRepository(Assembly) |
Get the ILoggerRepository for the specified assembly
| |
GetRepository(String) |
Get the named ILoggerRepository | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
OnLoggerRepositoryCreatedEvent |
Notify the registered listeners that the repository has been created
| |
ToString | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
LoggerRepositoryCreatedEvent |
Event to notify that a logger repository has been created.
|
Remarks
This IRepositorySelector implementation is a simple mapping between repository name and ILoggerRepository object.
The .NET Compact Framework 1.0 does not support retrieving assembly level attributes therefore unlike the DefaultRepositorySelector this selector does not examine the calling assembly for attributes.
See Also