Class MessageControlPlugInAttribute
MesssageControlPlugInAttribute class represents a message control plug-in attribute that should be used to mark message control plug-in classes.
Implements
Inherited Members
Namespace: SdlSdl.VerificationApi
Assembly: Sdl.Verification.Api.dll
Syntax
[ExtensionPointInfo("Message Controls", ExtensionPointBehavior.Static)]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class MessageControlPlugInAttribute : ExtensionAttribute, _Attribute
Remarks
A message control plug-in is responsible for creating a message control for a given message allowing different message controls to be displayed for different types of messages.
Constructors
MessageControlPlugInAttribute()
Default constructor.
Declaration
public MessageControlPlugInAttribute()
Methods
Validate(IExtensionAttributeInfo, IExtensionValidationContext)
Validates that the target class is a message control plug-in.
Declaration
public override void Validate(IExtensionAttributeInfo info, IExtensionValidationContext context)
Parameters
Type | Name | Description |
---|---|---|
IExtensionAttributeInfo | info | info |
IExtensionValidationContext | context | context |