IRepositorySelector.GetRepository Method (Assembly)
IRepositorySelectorGetRepository Method (Assembly)Apache log4net™ SDK Documentation
Gets the ILoggerRepository for the specified assembly.

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

ILoggerRepository GetRepository(
	Assembly assembly
)

Parameters

assembly
Type: System.ReflectionAssembly
The assembly to use to lookup to the ILoggerRepository

Return Value

Type: ILoggerRepository
The ILoggerRepository for the assembly.
Remarks

Gets the ILoggerRepository for the specified assembly.

How the association between Assembly and ILoggerRepository is made is not defined. The implementation may choose any method for this association. The results of this method must be repeatable, i.e. when called again with the same arguments the result must be the save value.

See Also

Reference