Open sandboxFocus

Property Event

Event

Gets the event to which the current aspect has been applied.

Declaration
public EventInfo Event { get; set; }
Property Value
Type Description
EventInfo
Remarks

note

Using this property causes the aspect weaver to generate code that has non-trivial runtime overhead. Avoid using this property whenever possible. One of the possible solution is to use compile-time initialization of aspect instances and to make use of reflection only at build time.