Creates a repository with the specified repository type.
Assembly: log4net (in log4net.dll) Version: 184.108.40.206-.NET 4.0
public static ILoggerRepository CreateRepository( Type repositoryType )
Public Shared Function CreateRepository ( repositoryType As Type ) As ILoggerRepository
public: static ILoggerRepository^ CreateRepository( Type^ repositoryType )
static member CreateRepository : repositoryType : Type -> ILoggerRepository
- Type: SystemType
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 ValueType: ILoggerRepository
The ILoggerRepository created for the repository.
The ILoggerRepository created will be associated with the repository specified such that a call to will return the same repository instance.