Metalama 1.0 / / Metalama Documentation / Conceptual Documentation / Creating Aspects / Transforming Code / Overriding Events

Overriding Events

Overriding events works similarly to overriding properties. You have to create an aspect from the OverrideEventAspect class. You can now override the add and remove accessors, but overriding the invocation of an event is not yet implemented.

Since overriding add and remove without raise is of limited use, we are skipping the example for now.