public static < T extends EventArgs > void invoke ( List < EventHandler < T > > delegates , Object sender , T event ) { for ( EventHandler < T > delegate : delegates ) { delegate . handle ( sender , event ) ; } }
Helper used for invoking event on list of delegates