⚠️ Beta / Prerelease Documentation - Subject to change. (Api version 19.0.0.1401 | Published on 2026-02-23 14:57:33)
Search Results for

    Show / Hide Table of Contents

    Class AICompanionFactoryAttribute

    Attribute used to mark classes as AI Companion Factory extensions.

    Inheritance
    object
    Attribute
    ExtensionAttribute
    AICompanionFactoryAttribute
    Implements
    _Attribute
    Inherited Members
    ExtensionAttribute.ValidateId(IExtensionAttributeInfo, IExtensionValidationContext)
    ExtensionAttribute.ValidateName(IExtensionAttributeInfo, IExtensionValidationContext)
    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()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.AICompanion
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    [ExtensionPointInfo("AI Companion Factories", ExtensionPointBehavior.Static)]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class AICompanionFactoryAttribute : ExtensionAttribute, _Attribute
    Remarks

    This attribute is applied to classes that implement IAICompanionFactory, enabling them to be discovered and validated as extension points by the plugin framework.

    Constructors

    AICompanionFactoryAttribute()

    Declaration
    public AICompanionFactoryAttribute()

    Methods

    Validate(IExtensionAttributeInfo, IExtensionValidationContext)

    Validates an extension targeting this extension point. This method is called by the framework while generating the plug-in manifest. Ensures that the target class implements IAICompanionFactory.

    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