CompactRepositorySelector ClassApache log4net™ SDK Documentation
The implementation of the IRepositorySelector interface suitable for use with the compact framework
Inheritance Hierarchy

SystemObject
  log4net.CoreCompactRepositorySelector

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

public class CompactRepositorySelector : IRepositorySelector

The CompactRepositorySelector type exposes the following members.

Constructors

  NameDescription
Public methodCompactRepositorySelector
Create a new repository selector
Top
Methods

  NameDescription
Public methodCreateRepository(Assembly, Type)
Create a new repository for the assembly specified
Public methodCreateRepository(String, Type)
Create a new repository for the repository specified
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExistsRepository
Test if a named repository exists
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllRepositories
Gets a list of ILoggerRepository objects
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRepository(Assembly)
Get the ILoggerRepository for the specified assembly
Public methodGetRepository(String)
Get the named ILoggerRepository
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnLoggerRepositoryCreatedEvent
Notify the registered listeners that the repository has been created
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Events

  NameDescription
Public eventLoggerRepositoryCreatedEvent
Event to notify that a logger repository has been created.
Top
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

Reference