Class TellMeSearchProviderAttribute
Extension attribute for registering Tell Me search provider
Implements
Inherited Members
Namespace: SdlSdl.TellMeProviderApi
Assembly: Sdl.TellMe.ProviderApi.dll
Syntax
[ExtensionPointInfo("TellMe Search Provider", ExtensionPointBehavior.Static)]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class TellMeSearchProviderAttribute : ExtensionAttribute, _Attribute
Remarks
Use this extension attribute to mark up implementations of ITellMePluginLoader.
Constructors
TellMeSearchProviderAttribute()
Declaration
public TellMeSearchProviderAttribute()
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 |