log4net SDK Reference |

# RepositoryAttribute.RepositoryType Property

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

[Visual Basic]
Public Property RepositoryType As Type
[C#]
public System.Type RepositoryType {get; set;}

#### Property Value

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

RepositoryAttribute Class | log4net.Config Namespace