Search Results for

    Show / Hide Table of Contents

    Class TranslationProviderFactoryAttribute

    Extension attribute for registering a translation provider factory that supports a specific types of translation providers.

    Inheritance
    object
    Attribute
    ExtensionAttribute
    TranslationProviderFactoryAttribute
    Implements
    _Attribute
    Inherited Members
    ExtensionAttribute.Id
    ExtensionAttribute.Name
    ExtensionAttribute.Description
    ExtensionAttribute.Icon
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    [ExtensionPointInfo("Translation Provider Factories", ExtensionPointBehavior.Static)]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public sealed class TranslationProviderFactoryAttribute : ExtensionAttribute, _Attribute
    Remarks

    Use this extension attribute to mark up implementations of ITranslationProviderFactory.

    The registered translation provider factories are used to instantiate translation providers when calling CreateTranslationProvider(Uri, string, ITranslationProviderCredentialStore).

    Constructors

    TranslationProviderFactoryAttribute()

    Declaration
    public TranslationProviderFactoryAttribute()

    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

    Overrides
    ExtensionAttribute.Validate(IExtensionAttributeInfo, IExtensionValidationContext)

    Implements

    _Attribute
    In this article
    Back to top Generated by DocFX