DefaultRepositorySelector Constructor Apache log4net™ SDK Documentation
Creates a new repository selector.

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

public DefaultRepositorySelector(
	Type defaultRepositoryType
)

Parameters

defaultRepositoryType
Type: OnlineSystem Type
The type of the repositories to create, must implement ILoggerRepository
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptiondefaultRepositoryType is  .
OnlineSystem ArgumentOutOfRangeExceptiondefaultRepositoryType does not implement ILoggerRepository.
Remarks

Create an new repository selector. The default type for repositories must be specified, an appropriate value would be Hierarchy.

See Also