Class AuxiliaryExtensionAttribute
Base class for auxiliary extension attributes, defining additional information that can be specified for an extension point, together with an extension attribute (see ExtensionAttribute).
Inheritance
System.Object
AuxiliaryExtensionAttribute
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public class AuxiliaryExtensionAttribute : Attribute
Constructors
AuxiliaryExtensionAttribute()
Default constructor for XML serialization.
Declaration
public AuxiliaryExtensionAttribute()
Methods
Validate(IExtensionAttributeInfo, IExtensionValidationContext)
Validates the use of this auxiliary extnsion attribute in the context of the specified extension. This method is called by the framework while generating the plug-in manifest.
Declaration
public virtual 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 |