Class EventShapeAttribute
- Namespace
- PolyType
- Assembly
- PolyType.dll
Configures the shape of an event for a given type.
[AttributeUsage(AttributeTargets.Event, AllowMultiple = false, Inherited = true)]
public sealed class EventShapeAttribute : Attribute
- Inheritance
-
EventShapeAttribute
- Inherited Members
Properties
Ignore
Gets a value indicating whether the annotated event should be ignored in the shape model.
public bool Ignore { get; init; }
Property Value
Name
Gets a custom name to be used for the particular event.
public string? Name { get; init; }