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); }