log4net SDK Reference |

# PluginAttribute Class

Assembly level attribute that specifies a plugin to attach to the repository.

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

System.Object
System.Attribute
log4net.Config.PluginAttribute

[Visual Basic]
NotInheritable Public Class PluginAttribute
Inherits Attribute
Implements IPluginFactory
[C#]
public sealed class PluginAttribute : Attribute, IPluginFactory

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

Specifies the type of a plugin to create and attach to the assembly's repository. The plugin type must implement the IPlugin interface.

#### Requirements

Namespace: log4net.Config

Assembly: log4net (in log4net.dll)

#### See Also

PluginAttribute Members | log4net.Config Namespace