Creates a repository with the specified repository type.
Namespace: log4netAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- repositoryType
- Type: System Type
A Type that implements ILoggerRepository and has a no arg constructor. An instance of this type will be created to act as the ILoggerRepository for the repository specified.
Return Value
Type: ILoggerRepositoryThe ILoggerRepository created for the repository.
Remarks
CreateDomain is obsolete. Use CreateRepository instead of CreateDomain.
The ILoggerRepository created will be associated with the repository specified such that a call to [M:GetRepository()] will return the same repository instance.
See Also