Example #1
0
 static void Main(string[] args)
 {
   try
   {
     Execute();
   }
   catch (Exception exception)
   {
     ErrorsHandler.HandleGenericError(exception);
   }
 }
Example #2
0
 private void CallErrorsEventHandler()
 {
     ErrorsHandler?.Invoke(this, new List <string>(Errors));
 }
Example #3
0
 public void ServiceSetup()
 {
     ErrorsHandler = new ErrorsHandler();
     Threshold     = new Threshold();
 }