Class SupersedeEventAttribute
This is used to know if the event arg attributed should supersede another event arg type when tracking events for the same entity. If one event args supersedes another then the event args that have been superseded will mean that the event will not be dispatched or the args will be filtered to exclude the entity.
Inheritance
object
Attribute
Namespace: Umbraco.Cms.Core.Events
Assembly: Umbraco.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class SupersedeEventAttribute : Attribute
Constructors
View SourceSupersedeEventAttribute(Type)
Initializes a new instance of the SupersedeEventAttribute class.
Declaration
public SupersedeEventAttribute(Type supersededEventArgsType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | supersededEventArgsType | The type of event arguments that this event supersedes. |
Properties
View SourceSupersededEventArgsType
Gets the type of event arguments that this event supersedes.
Declaration
public Type SupersededEventArgsType { get; }
Property Value
| Type | Description |
|---|---|
| Type |