예제 #1
0
파일: TextLogger.cs 프로젝트: jeden/unisms
 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
파일: TextLogger.cs 프로젝트: jeden/unisms
 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
파일: TextLogger.cs 프로젝트: jeden/unisms
 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);
 }