Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

PluginMap.Add�Method�

Adds a IPlugin to the map.

[Visual�Basic]
Public�Sub�Add( _
���ByVal plugin�As�IPlugin�_
)
[C#]
public�void�Add(
���IPluginplugin
);

Parameters

plugin
The IPlugin to add to the map.

Remarks

The IPlugin will be attached to the repository when added.

If there already exists a plugin with the same name attached to the repository then the old plugin will be Shutdown and replaced with the new plugin.

See Also

PluginMap Class | log4net.Plugin Namespace