Interface IPluginFilter
Provides control over whether certain plug-ins or individual extensions are loaded.
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public interface IPluginFilter
Methods
ShouldLoadExtension(IPlugin, String)
Determines whether the specified extension should be loaded.
Declaration
bool ShouldLoadExtension(IPlugin plugin, string extensionId)
Parameters
Type | Name | Description |
---|---|---|
IPlugin | plugin | The plugin. |
System.String | extensionId | The extension id. |
Returns
Type | Description |
---|---|
System.Boolean |
ShouldLoadPlugin(String)
Determines whether the specified plug-in should be loaded.
Declaration
bool ShouldLoadPlugin(string pluginName)
Parameters
Type | Name | Description |
---|---|---|
System.String | pluginName | Name of the plugin. |
Returns
Type | Description |
---|---|
System.Boolean |