Interface IEventFilter
This is an interface which helps to filter events.
public interface IEventFilter
Methods
Accept(IEventData, EventType)
This method checks an event and decides whether it should be processed further (corresponds to true return value), or filtered out (corresponds to false return value).
bool Accept(IEventData data, EventType type)
Parameters
data
IEventDataevent data
type
EventTypeevent type
Returns
- bool
true to process event further, false to filter event out