Creates filtered event handler of type EventHandler{TEventArgs}.
Declaring type: FilteredEventHandler
Namespace: Zyan.Communication.Delegates
Assembly: Zyan.Communication
Collapse/Expand Syntax
C#
public static EventHandler<TEventArgs> AddFilter<TEventArgs> (
        EventHandler<TEventArgs> eventHandler,
        IEventFilter eventFilter,
        bool filterLocally
) 
where TEventArgs  : EventArgs
Type Parameters
TEventArgs
The type of the event arguments.
Parameters
eventHandler
The event handler.
eventFilter
The event filter.
filterLocally
Whether the filter should also work when used locally.
Return Value

There is no description.