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