DefaultRepositorySelector ClassApache log4net™ SDK Documentation
The default implementation of the IRepositorySelector interface.
Inheritance Hierarchy

SystemObject
  log4net.CoreDefaultRepositorySelector

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

public class DefaultRepositorySelector : IRepositorySelector

The DefaultRepositorySelector type exposes the following members.

Constructors

  NameDescription
Public methodDefaultRepositorySelector
Creates a new repository selector.
Top
Methods

  NameDescription
Public methodAliasRepository
Aliases a repository to an existing repository.
Public methodCreateRepository(Assembly, Type)
Create a new repository for the assembly specified
Public methodCreateRepository(String, Type)
Creates a new repository for the specified repository.
Public methodCreateRepository(Assembly, Type, String, Boolean)
Creates a new repository for the assembly 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)
Gets the ILoggerRepository for the specified assembly.
Public methodGetRepository(String)
Gets the ILoggerRepository for the specified repository.
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
Notifies 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

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

See Also

Reference