Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PluginSkeleton.Attach�Method�

Attaches this plugin to a ILoggerRepository.

[Visual�Basic]
Overridable�Public�Sub�Attach( _
���ByVal repository�As�ILoggerRepository�_
)�_
����Implements�IPlugin.Attach
[C#]
public�virtual�void�Attach(
���ILoggerRepositoryrepository
);

Parameters

repository
The ILoggerRepository that this plugin should be attached to.

Implements

IPlugin.Attach

Remarks

A plugin may only be attached to a single repository.

This method is called when the plugin is attached to the repository.

See Also

PluginSkeleton Class | log4net.Plugin Namespace