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