Assembly: log4net (in log4net.dll) Version: 188.8.131.52-.NET 4.0
public static ILoggerRepository CreateRepository( Assembly repositoryAssembly, Type repositoryType )
Public Shared Function CreateRepository ( repositoryAssembly As Assembly, repositoryType As Type ) As ILoggerRepository
public: static ILoggerRepository^ CreateRepository( Assembly^ repositoryAssembly, Type^ repositoryType )
static member CreateRepository : repositoryAssembly : Assembly * repositoryType : Type -> ILoggerRepository
- Type: System.ReflectionAssembly
The assembly to use to get the name of the repository.
- 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 with the same assembly specified will return the same repository instance.