IRepositorySelector GetRepository Method (String) | Apache log4net™ SDK Documentation

Gets the named ILoggerRepository.

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

C#
VB
C++
F#
Copy

    ILoggerRepository GetRepository(
    	string repositoryName
    )

    Function GetRepository (
    	repositoryName As String
    ) As ILoggerRepository

    ILoggerRepository^ GetRepository(
    	String^ repositoryName
    )

    abstract GetRepository :
            repositoryName : string -> ILoggerRepository

#### Parameters

repositoryName
  Type: System
  String
  The name to use to lookup to the ILoggerRepository.

#### Return Value

Type: ILoggerRepository
The named ILoggerRepository
Remarks

Lookup a named ILoggerRepository. This is the repository created by calling [M:CreateRepository(string,Type)].
See Also

#### Reference

IRepositorySelector Interface
GetRepository Overload
log4net.Core Namespace