Ejemplo n.º 1
0
 public void Send()
 {
     CheckApiKey();
     if (!Glitch.Config.Notify || Glitch.Config.IgnoreErrors.Exclude(this))
     {
         return;
     }
     ApplyDefaultsIfNeeded();
     NotificationSenderFactory.Create().Send(this);
 }
Ejemplo n.º 2
0
 public void TestCleanup()
 {
     NotificationSenderFactory.ResetFactoryFunc();
 }
Ejemplo n.º 3
0
 public void TestInitialize()
 {
     NotificationSenderFactory.SetFactoryFunc(() => _notificationSenderMock.Object);
 }