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

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

ILoggerRepository GetRepository(
	Assembly assembly
)

Return Value

Type: ILoggerRepository
The ILoggerRepository for the assembly.
Remarks

Gets the ILoggerRepository for the specified assembly.

How the association between OnlineAssembly 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