Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IRepositorySelector.GetRepository�Method�(Assembly)

Gets the ILoggerRepository for the specified assembly.

[Visual�Basic]
Function�GetRepository( _
���ByVal assembly�As�Assembly�_
)�As�ILoggerRepository
[C#]
ILoggerRepository�GetRepository(
���Assemblyassembly
);

Parameters

assembly
The assembly to use to lookup to the ILoggerRepository

Return Value

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

IRepositorySelector Interface | log4net.Core Namespace | IRepositorySelector.GetRepository Overload List