Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Parameters
- repositoryAssembly
- Type: System.Reflection Assembly
The assembly use to lookup the ILoggerRepository.
Return Value
Type: ILoggerRepositoryThe ILoggerRepository for the assembly
Implements
IRepositorySelector GetRepository(Assembly)Exception | Condition |
---|---|
System ArgumentNullException | repositoryAssembly is . |
The type of the ILoggerRepository created and the repository to create can be overridden by specifying the RepositoryAttribute attribute on the repositoryAssembly.
The default values are to use the Hierarchy implementation of the ILoggerRepository interface and to use the Name as the name of the repository.
The ILoggerRepository created will be automatically configured using any ConfiguratorAttribute attributes defined on the repositoryAssembly.