Ejemplo n.º 1
0
 public void OnBrokenRule(IBrokenRuleNotification value)
 {
     if(!ThrowException)
         BrokenRules.Add( value );
     else
         throw new Exception("TestSubscriber was told to throw an exception...");
 }
Ejemplo n.º 2
0
 public void OnBrokenRule(IBrokenRuleNotification value)
 {
     if (!ThrowException)
     {
         BrokenRules.Add(value);
     }
     else
     {
         throw new Exception("TestSubscriber was told to throw an exception...");
     }
 }