DefaultRepositorySelector Class | Apache log4net™ SDK Documentation

The default implementation of the IRepositorySelector interface.
Inheritance Hierarchy

System
Object
log4net.Core
DefaultRepositorySelector

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

C#
VB
C++
F#
Copy

    public class DefaultRepositorySelector : IRepositorySelector

    Public Class DefaultRepositorySelector
    	Implements IRepositorySelector

    public ref class DefaultRepositorySelector : IRepositorySelector

    type DefaultRepositorySelector =
        class
            interface IRepositorySelector
        end

The DefaultRepositorySelector type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| DefaultRepositorySelector | Creates a new repository selector.

Top
Methods

| Name | Description
--- | --- | ---
| AliasRepository | Aliases a repository to an existing repository.
| CreateRepository(Assembly, Type) | Create a new repository for the assembly specified
| CreateRepository(String, Type) | Creates a new repository for the specified repository.
| CreateRepository(Assembly, Type, String, Boolean) | Creates a new repository for the assembly specified.
| Equals | Determines whether the specified Object is equal to the current Object. (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) | Gets the ILoggerRepository for the specified assembly.
| GetRepository(String) | Gets the ILoggerRepository for the specified repository.
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| OnLoggerRepositoryCreatedEvent | Notifies the registered listeners that the repository has been created.
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Events

| Name | Description
--- | --- | ---
| LoggerRepositoryCreatedEvent | Event to notify that a logger repository has been created.

Top
Remarks

Uses attributes defined on the calling assembly to determine how to configure the hierarchy for the repository.

See Also

#### Reference

log4net.Core Namespace