Class AutoRegisterEventActionAttribute
Attribute to mark event dispatcher actions for automatic registration.
Implements
Inherited Members
Namespace: Serenity.EventDispatcher.Domain.Types
Assembly: Serenity.Global.Domain.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class AutoRegisterEventActionAttribute : Attribute, _Attribute
Remarks
This attribute is used to identify classes that should be automatically registered as event dispatcher actions.
When applied to a class, it indicates that the class implements an event dispatcher action.
Usage Example:
[AutoRegisterEventAction]
public class MyEventAction : IEventDispatcherAction
{
// Implementation of the action
}
Constructors
AutoRegisterEventActionAttribute()
Declaration
public AutoRegisterEventActionAttribute()