log4net SDK Reference |

# CompactRepositorySelector Class

The implementation of the IRepositorySelector interface suitable for use with the compact framework

For a list of all members of this type, see CompactRepositorySelector Members.

System.Object
log4net.Core.CompactRepositorySelector

[Visual Basic]
Public Class CompactRepositorySelector
Implements IRepositorySelector
[C#]
public class CompactRepositorySelector : IRepositorySelector

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

This IRepositorySelector implementation is a simple mapping between repository name and ILoggerRepository object.

The .NET Compact Framework 1.0 does not support retrieving assembly level attributes therefore unlike the `DefaultRepositorySelector` this selector does not examine the calling assembly for attributes.

#### Requirements

Namespace: log4net.Core

Assembly: log4net (in log4net.dll)

#### See Also

CompactRepositorySelector Members | log4net.Core Namespace