OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Framework.PluginIdFilter Class Reference

Filters plugins according to their ID. Plugin IDs are contained in their addin.xml More...

Inheritance diagram for OpenSim.Framework.PluginIdFilter:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Framework.PluginIdFilter:
Collaboration graph
[legend]

Public Member Functions

 PluginIdFilter (string p)
 Constructor. More...
 
bool Apply (PluginExtensionNode plugin)
 Apply this filter to plugin . More...
 

Detailed Description

Filters plugins according to their ID. Plugin IDs are contained in their addin.xml

Definition at line 416 of file PluginLoader.cs.

Constructor & Destructor Documentation

OpenSim.Framework.PluginIdFilter.PluginIdFilter ( string  p)
inline

Constructor.

Parameters
pPlugin ID or IDs on which to filter. Multiple names should be separated by commas.

Definition at line 426 of file PluginLoader.cs.

Member Function Documentation

bool OpenSim.Framework.PluginIdFilter.Apply ( PluginExtensionNode  plugin)
inline

Apply this filter to plugin .

Parameters
pluginPluginExtensionNode instance to check whether it passes the filter.
Returns
true if the plugin's ID matches one of the filters, false otherwise.

Implements OpenSim.Framework.IPluginFilter.

Definition at line 441 of file PluginLoader.cs.


The documentation for this class was generated from the following file: