Exemplo 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));
 }
Exemplo 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));
 }
Exemplo n.º 3
0
 public void DeliveryNotification(NotificationArgs args)
 {
     NotifyDelivery(args);
 }
Exemplo n.º 4
0
 public override void OnDelivery(NotificationArgs args)
 {
     WriteLine(string.Format("Delivery Confirmation: {0}", args.Recipient));
     WriteIndented(string.Format("Reference: {0}", args.ProviderReference));
 }
Exemplo n.º 5
0
 public void ErrorNotification(NotificationArgs args)
 {
     NotifyDeliveryFailure(args);
 }
Exemplo n.º 6
0
 public void StatusNotification(NotificationArgs args)
 {
     NotifyDeliveryStatusUpdate(args);
 }
Exemplo n.º 7
0
 public override void OnDeliveryStatusUpdate(NotificationArgs args)
 {
     SmsLogDataContext.DeliveryStatusUpdate(args.ProviderReference, args.Recipient, args.NotifiedOn, args.NotificationCode, args.NotificationMessage);
 }
Exemplo n.º 8
0
 public override void OnDelivery(NotificationArgs args)
 {
     SmsLogDataContext.DeliveryConfirmation(args.ProviderReference, args.Recipient, args.NotifiedOn, args.NotificationCode);
 }
Exemplo n.º 9
0
 protected void NotifyDeliveryStatusUpdate(NotificationArgs args)
 {
     if (OnDeliveryStatusUpdate != null) OnDeliveryStatusUpdate(args);
 }
Exemplo n.º 10
0
 protected void NotifyDeliveryFailure(NotificationArgs args)
 {
     if (OnDeliveryFailure != null) OnDeliveryFailure(args);
 }
Exemplo n.º 11
0
 protected void NotifyDelivery(NotificationArgs args)
 {
     if (OnDelivery != null) OnDelivery(args);
 }