예제 #1
0
        public static void Send(WebsiteError error)
        {
            var registerNotification = new NotificationHandler();
            var emailNotification    = new TelegramNotification(error);

            registerNotification.RegisterNotificationDelegateInstance += emailNotification.OnNotificationSent;
            registerNotification.RegisterNotificationHandler();
        }
예제 #2
0
 //
 public TelegramNotification(WebsiteError error)
 {
     _websiteError = error;
 }