Event Subject Filter Decorator Use this decorator to allow your event listener to only be invoked if event subject matches the `allowedSubject` option. The `allowedSubject` option can be a list of class names, if you want to check multiple classes.
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
bool | bool canTrigger(IEvent eventToCheck) |