Пример #1
0
 public void Send()
 {
     CheckApiKey();
     if (!Glitch.Config.Notify || Glitch.Config.IgnoreErrors.Exclude(this))
     {
         return;
     }
     ApplyDefaultsIfNeeded();
     NotificationSenderFactory.Create().Send(this);
 }
Пример #2
0
 public void TestCleanup()
 {
     NotificationSenderFactory.ResetFactoryFunc();
 }
Пример #3
0
 public void TestInitialize()
 {
     NotificationSenderFactory.SetFactoryFunc(() => _notificationSenderMock.Object);
 }