Metalama / / Conceptual documentation / Creating aspects / Advising code / Overriding events

Overriding events

The way to override events is similar to overriding properties. You must create an aspect from the OverrideEventAspect class and override the add and remove accessors. However, overriding the invocation of an event is not yet implemented.

Since overridden add and remove accessors without overriding raise have limited applications, we skip the example for now.