Click or drag to resize
TranslationProviderFactoryAttribute Class
Extension attribute for registering a translation provider factory that supports a specific types of translation providers.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Sdl.Core.PluginFrameworkExtensionAttribute
      Sdl.LanguagePlatform.TranslationMemoryApiTranslationProviderFactoryAttribute

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public sealed class TranslationProviderFactoryAttribute : ExtensionAttribute

The TranslationProviderFactoryAttribute type exposes the following members.

Constructors
  NameDescription
Public methodTranslationProviderFactoryAttribute
Default constructor.
Top
Properties
  NameDescription
Public propertyDescription
Gets or sets the description of the extension.
(Inherited from ExtensionAttribute.)
Public propertyIcon
Gets or sets the resource key for an the icon representing this extension. Can be null.
(Inherited from ExtensionAttribute.)
Public propertyId
Gets or sets the unique id of the extension.
(Inherited from ExtensionAttribute.)
Public propertyName
Gets or sets the name of the extension.
(Inherited from ExtensionAttribute.)
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validates an extension targeting this extension point. This method is called by the framework while generating the plug-in manifest.
(Overrides ExtensionAttributeValidate(IExtensionAttributeInfo, IExtensionValidationContext).)
Top
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).

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments