Esempio n. 1
0
 public override void OnDeliveryFailure(NotificationArgs args)
 {
     WriteLine(string.Format("**Delivery Error: {0}", args.Recipient));
     WriteIndented(string.Format("Reference: {0}", args.ProviderReference));
     WriteIndented(string.Format("Error: {0} - {1}", args.NotificationCode, args.NotificationMessage));
 }
Esempio n. 2
0
 public override void OnDeliveryStatusUpdate(NotificationArgs args)
 {
     WriteLine(string.Format("Status update: {0}", args.Recipient));
     WriteIndented(string.Format("Reference: {0}", args.ProviderReference));
     WriteIndented(string.Format("Notification: {0} - {1}", args.NotificationCode, args.NotificationMessage));
 }
Esempio n. 3
0
 public void DeliveryNotification(NotificationArgs args)
 {
     NotifyDelivery(args);
 }
Esempio n. 4
0
 public override void OnDelivery(NotificationArgs args)
 {
     WriteLine(string.Format("Delivery Confirmation: {0}", args.Recipient));
     WriteIndented(string.Format("Reference: {0}", args.ProviderReference));
 }
Esempio n. 5
0
 public void ErrorNotification(NotificationArgs args)
 {
     NotifyDeliveryFailure(args);
 }
Esempio n. 6
0
 public void StatusNotification(NotificationArgs args)
 {
     NotifyDeliveryStatusUpdate(args);
 }
Esempio n. 7
0
 public override void OnDeliveryStatusUpdate(NotificationArgs args)
 {
     SmsLogDataContext.DeliveryStatusUpdate(args.ProviderReference, args.Recipient, args.NotifiedOn, args.NotificationCode, args.NotificationMessage);
 }
Esempio n. 8
0
 public override void OnDelivery(NotificationArgs args)
 {
     SmsLogDataContext.DeliveryConfirmation(args.ProviderReference, args.Recipient, args.NotifiedOn, args.NotificationCode);
 }
Esempio n. 9
0
 protected void NotifyDeliveryStatusUpdate(NotificationArgs args)
 {
     if (OnDeliveryStatusUpdate != null) OnDeliveryStatusUpdate(args);
 }
Esempio n. 10
0
 protected void NotifyDeliveryFailure(NotificationArgs args)
 {
     if (OnDeliveryFailure != null) OnDeliveryFailure(args);
 }
Esempio n. 11
0
 protected void NotifyDelivery(NotificationArgs args)
 {
     if (OnDelivery != null) OnDelivery(args);
 }