RepositoryAttribute RepositoryType Property | Apache log4net™ SDK Documentation

Gets or sets the type of repository to create for this assembly.

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

C#
VB
C++
F#
Copy

    public Type RepositoryType { get; set; }

    Public Property RepositoryType As Type
    	Get
    	Set

    public:
    property Type^ RepositoryType {
    	Type^ get ();
    	void set (Type^ value);
    }

    member RepositoryType : Type with get, set

#### Property Value

Type: Type
The type of repository to create for this assembly.
Remarks

The type of the repository to create for the assembly. The type must implement the ILoggerRepository interface.

This will be the type of repository created when the repository is created. If multiple assemblies reference the same repository then the repository is only created once using the RepositoryType of the first assembly to call into the repository.

See Also

#### Reference

RepositoryAttribute Class
log4net.Config Namespace