Class TranslationProviderWinFormsUiAttribute
Extension attribute for registering a translation provider Windows Forms user interface component that provides user interface for specific types of translation providers.
Inheritance
System.Object
TranslationProviderWinFormsUiAttribute
Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TranslationProviderWinFormsUiAttribute : ExtensionAttribute
Remarks
Use this extension attribute to mark up implementations of ITranslationProviderWinFormsUI.
Constructors
TranslationProviderWinFormsUiAttribute()
Declaration
public TranslationProviderWinFormsUiAttribute()
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 |