Search Results for

    Show / Hide Table of Contents

    Class ExternalCommandLineProcessorAttribute

    Extension attribute for regsitering command line processors. This can be used on classes implementing IExternalCommandLineProcessor.

    Inheritance
    System.Object
    ExternalCommandLineProcessorAttribute
    Namespace: Sdl.Desktop.IntegrationApi.Extensions.CommandLine
    Assembly: Sdl.Desktop.IntegrationApi.Extensions.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class ExternalCommandLineProcessorAttribute : ExtensionAttribute

    Constructors

    ExternalCommandLineProcessorAttribute()

    Default constructor for XML serialization.

    Declaration
    public ExternalCommandLineProcessorAttribute()

    ExternalCommandLineProcessorAttribute(String, String, String)

    Constructor with required parameters.

    Declaration
    public ExternalCommandLineProcessorAttribute(string id, string name, string description)
    Parameters
    Type Name Description
    System.String id

    An id for the processor.

    System.String name

    A name for the processor.

    System.String description

    A description for the processor.

    Methods

    Validate(IExtensionAttributeInfo, IExtensionValidationContext)

    Validates an extension targeting this extension point. This method is called by the framework while generating the plug-in manifest.

    Declaration
    public override void Validate(IExtensionAttributeInfo info, IExtensionValidationContext context)
    Parameters
    Type Name Description
    IExtensionAttributeInfo info

    Information about the extension.

    IExtensionValidationContext context

    Provides functionality to validate extensions targeting the extension point and report warning or error messages

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • ExternalCommandLineProcessorAttribute()
      • ExternalCommandLineProcessorAttribute(String, String, String)
    • Methods
      • Validate(IExtensionAttributeInfo, IExtensionValidationContext)
    • Extension Methods
    Back to top Generated by DocFX