示例#1
0
 public Notification()
 {
     this.alert                = null;
     this.IosNotification      = null;
     this.AndroidNotification  = null;
     this.WinphoneNotification = null;
 }
示例#2
0
        public static Notification winphone(String alert)
        {
            var platformNotification = new WinphoneNotification().setAlert(alert);

            var notificaiton = new Notification().setAlert(alert);

            notificaiton.WinphoneNotification = platformNotification;
            return(notificaiton);
        }
示例#3
0
 public Notification setWinphone(WinphoneNotification winphone)
 {
     this.WinphoneNotification = winphone;
     return(this);
 }