Search Results for

    Show / Hide Table of Contents

    Class ValidatingSystemPluginLocator

    This class is an extension to an existing IPluginLocator interface and allows installed third party plugins to be validated against their .sdlplugin packages and it's embedded signature.

    Inheritance
    object
    ValidatingSystemPluginLocator
    Implements
    IValidatingPluginLocator
    IPluginLocator
    IDisposable
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Sdl.Core.PluginFramework
    Assembly: Sdl.Core.PluginFramework.dll
    Syntax
    public class ValidatingSystemPluginLocator : IValidatingPluginLocator, IPluginLocator, IDisposable

    Constructors

    ValidatingSystemPluginLocator(IPluginLocator)

    Constructs a ValidatingPluginLocator class using the supplied IPluginLocator base class and if Studio is started in secure mode.

    Declaration
    public ValidatingSystemPluginLocator(IPluginLocator baseLocator)
    Parameters
    Type Name Description
    IPluginLocator baseLocator

    A base class that implements IPluginLocator.

    Exceptions
    Type Condition
    ArgumentNullException

    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<IPluginDescriptor>

    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<IPluginDescriptor>
    Remarks

    If any plug-in descriptors are added to this list then they will also be returned by a call to GetPluginDescriptors().

    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
    IPluginDescriptor[]

    An array of plug-in descriptors.

    Implements

    IValidatingPluginLocator
    IPluginLocator
    IDisposable
    In this article
    • Constructors
      • ValidatingSystemPluginLocator(IPluginLocator)
    • Properties
      • InvalidDescriptors
      • ValidatedDescriptors
    • Methods
      • Dispose()
      • GetPluginDescriptors()
    • Implements
    Back to top Generated by DocFX