Class ValidatingSystemPluginLocator
This class is an extension to an existing IPlugin
Inheritance
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public class ValidatingSystemPluginLocator : Object, IValidatingPluginLocator, IPluginLocator
Constructors
ValidatingSystemPluginLocator(IPluginLocator)
Constructs a ValidatingPluginLocator class using the supplied IPlugin
Declaration
public ValidatingSystemPluginLocator(IPluginLocator baseLocator)
Parameters
Type | Name | Description |
---|---|---|
IPlugin |
baseLocator | A base class that implements IPlugin |
Exceptions
Type | Condition |
---|---|
System. |
Properties
InvalidDescriptors
This property exposes a list of plug-in descriptors that have failed to validate against the original .sdlplugin package and it's embedded signature.
Declaration
public List<IPluginDescriptor> InvalidDescriptors { get; }
Property Value
Type | Description |
---|---|
List<IPlugin |
ValidatedDescriptors
This property exposes a list of validated plug-in descriptors that can be inspected or added to.
Declaration
public List<IPluginDescriptor> ValidatedDescriptors { get; }
Property Value
Type | Description |
---|---|
List<IPlugin |
Remarks
If any plug-in descriptors are added to this list then they will also be returned by a call to Get
Methods
Dispose()
Disposes the plug-in locator.
Declaration
public void Dispose()
Remarks
This method is called automatically when the owning plug-in registry is disposed.
GetPluginDescriptors()
Returns an array of plug-in descriptors for plug-ins found.
Declaration
public IPluginDescriptor[] GetPluginDescriptors()
Returns
Type | Description |
---|---|
IPlugin |
An array of plug-in descriptors. |