Creates a new repository for the assembly specified.
Assembly: log4net (in log4net.dll) Version: 184.108.40.206-.NET 4.0
ILoggerRepository CreateRepository( Assembly assembly, Type repositoryType )
Function CreateRepository ( assembly As Assembly, repositoryType As Type ) As ILoggerRepository
ILoggerRepository^ CreateRepository( Assembly^ assembly, Type^ repositoryType )
abstract CreateRepository : assembly : Assembly * repositoryType : Type -> ILoggerRepository
- Type: System.ReflectionAssembly
The assembly to use to create the domain to associate with the ILoggerRepository.
- Type: SystemType
The type of repository to create, must implement ILoggerRepository.
Return ValueType: ILoggerRepository
The repository created.
The ILoggerRepository created will be associated with the domain specified such that a call to [M:GetRepository(Assembly)] with the same assembly specified will return the same repository instance.
How the association between Assembly and ILoggerRepository is made is not defined. The implementation may choose any method for this association.