IRepositorySelector.ExistsRepository Method
IRepositorySelectorExistsRepository Method Apache log4net™ SDK Documentation
Test if a named repository exists

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

bool ExistsRepository(
	string repositoryName
)

Parameters

repositoryName
Type: SystemString
the named repository to check

Return Value

Type: Boolean
true if the repository exists
Remarks

Test if a named repository exists. Use [M:CreateRepository(Assembly, Type)] to create a new repository and [M:GetRepository(Assembly)] to retrieve a repository.

See Also

Reference