public static void RegisterWindowsPhoneService(this PushBroker broker, WindowsPhonePushChannelSettings channelSettings, string applicationId, IPushServiceSettings serviceSettings = null)
		{
			var service = new WindowsPhonePushService(new WindowsPhonePushChannelFactory(), channelSettings, serviceSettings);

			broker.RegisterService<WindowsPhoneCycleTileNotification>(service, applicationId);
			broker.RegisterService<WindowsPhoneFlipTileNotification>(service, applicationId);
			broker.RegisterService<WindowsPhoneIconicTileNotification>(service, applicationId);
			broker.RegisterService<WindowsPhoneTileNotification>(service, applicationId);
			broker.RegisterService<WindowsPhoneToastNotification>(service, applicationId);
			broker.RegisterService<WindowsPhoneRawNotification>(service, applicationId);
		}
		public static void RegisterWindowsPhoneService(this PushBroker broker, WindowsPhonePushChannelSettings channelSettings, IPushServiceSettings serviceSettings = null)
		{
			RegisterWindowsPhoneService (broker, channelSettings, null, serviceSettings);
		}
 public WindowsPhonePushChannel(WindowsPhonePushChannelSettings channelSettings, PushServiceSettings serviceSettings = null)
     : base(channelSettings, serviceSettings)
 {
     windowsPhoneSettings = channelSettings;
 }
 public WindowsPhonePushChannel(WindowsPhonePushChannelSettings channelSettings)
 {
     windowsPhoneSettings = channelSettings;
 }
예제 #5
0
 public WindowsPhonePushChannel(WindowsPhonePushChannelSettings channelSettings)
 {
     windowsPhoneSettings = channelSettings;
 }
예제 #6
0
 public WindowsPhonePushChannel(WindowsPhonePushChannelSettings settings)
     : base(settings)
 {
     windowsPhoneSettings = settings;
 }
예제 #7
0
 public WindowsPhonePushService(IPushChannelFactory pushChannelFactory, WindowsPhonePushChannelSettings channelSettings, IPushServiceSettings serviceSettings)
     : base(pushChannelFactory ?? new WindowsPhonePushChannelFactory(), channelSettings ?? new WindowsPhonePushChannelSettings(), serviceSettings)
 {
 }
예제 #8
0
		public WindowsPhonePushService(WindowsPhonePushChannelSettings channelSettings, IPushServiceSettings serviceSettings)
			: this(default(IPushChannelFactory), channelSettings, serviceSettings)
		{
		}
예제 #9
0
 public WindowsPhonePushService(WindowsPhonePushChannelSettings channelSettings, IPushServiceSettings serviceSettings)
     : this(default(IPushChannelFactory), channelSettings, serviceSettings)
 {
 }
예제 #10
0
 public WindowsPhonePushService(
     WindowsPhonePushChannelSettings channelSettings, PushServiceSettings serviceSettings = null)
     : base(new WindowsPhoneChannelFactory(channelSettings), serviceSettings)
 {
 }
 public WindowsPhonePushChannel(WindowsPhonePushChannelSettings channelSettings, PushServiceSettings serviceSettings = null) : base(channelSettings, serviceSettings)
 {
     windowsPhoneSettings = channelSettings;
 }
예제 #12
0
 public void StartWindowsPhonePushService(WindowsPhone.WindowsPhonePushChannelSettings channelSettings = null, PushServiceSettings serviceSettings = null)
 {
     wpService = new WindowsPhone.WindowsPhonePushService(channelSettings, serviceSettings);
     wpService.Events.RegisterProxyHandler(this.Events);
 }
예제 #13
0
		public WindowsPhonePushService(IPushChannelFactory pushChannelFactory, WindowsPhonePushChannelSettings channelSettings, IPushServiceSettings serviceSettings)
			: base(pushChannelFactory ?? new WindowsPhonePushChannelFactory(), channelSettings ?? new WindowsPhonePushChannelSettings(), serviceSettings)
		{
		}
예제 #14
0
		public WindowsPhonePushService(IPushChannelFactory pushChannelFactory, WindowsPhonePushChannelSettings channelSettings)
			: this(pushChannelFactory, channelSettings, default(IPushServiceSettings))
		{
		}
예제 #15
0
 public WindowsPhonePushService(IPushChannelFactory pushChannelFactory, WindowsPhonePushChannelSettings channelSettings)
     : this(pushChannelFactory, channelSettings, default(IPushServiceSettings))
 {
 }
 public MonoWindowsPhonePushChannel(WindowsPhonePushChannelSettings channelSettings)
 {
     windowsPhoneSettings = channelSettings;
     assemblyVerison      = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
     ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, errors) => true;
 }
 public WindowsPhoneChannelFactory(WindowsPhonePushChannelSettings channelSettings)
 {
     this.channelSettings = channelSettings;
 }