Signals the triggers in static trigger list that they should break and pause their work.
This function tells the triggers to pause their work. No further event calls are made but the callback functions for all trigger events are already stored.
To continue the triggers work call static Resume method.
The static trigger list will be used for global trigger which could be used from different objects.
For an example source code see the example section below.
try { // Break all triggers in static trigger list Trigger.Break(); // Do something without running triggers myTempWorkMethod(); // Resume all triggers in static trigger list Trigger.Resume(); } catch (Exception ex) { Console.WriteLine(ex.Message); }
Trigger Class | uws.Triggers Namespace