Register given event handler at each trigger with given name.
The function register the given event handler at each trigger in static trigger list where name of trigger matches.
The static trigger list will be used for global trigger which could be used from different objects.
For an example source code see the Add method.
|ArgumentNullException||Thrown if no event handler or name were given.|