Class EventModelAttribute
Optional configuration for event models.
[AttributeUsage(AttributeTargets.Class)]
public class EventModelAttribute : Attribute
- Inheritance
-
EventModelAttribute
- Inherited Members
Constructors
EventModelAttribute(EventSynchronizationContext)
public EventModelAttribute(EventSynchronizationContext sync)
Parameters
Properties
SynchronizationContext
Describes how other events of the same type can run while this one is running.
public EventSynchronizationContext SynchronizationContext { get; set; }
Property Value
SynchronizedModelTags
List of tags that this model is synchronized with. Other models must also share at least one of these tags to be synchronized.
public string[]? SynchronizedModelTags { get; set; }
Property Value
- string[]