예제 #1
0
 public FacebookPushService(IPushChannelFactory pushChannelFactory, FacebookPushChannelSettings channelSettings, IPushServiceSettings serviceSettings)
     : base(pushChannelFactory ?? new FacebookPushChannelFactory(), channelSettings, serviceSettings)
 {
 }
예제 #2
0
 public FacebookPushService(IPushChannelFactory pushChannelFactory, FacebookPushChannelSettings channelSettings)
     : this(pushChannelFactory, channelSettings, default(IPushServiceSettings))
 {
 }
 public static void RegisterFacebookService(this PushBroker broker, FacebookPushChannelSettings channelSettings, PushServiceSettings serviceSettings = null)
 {
     broker.RegisterService<FacebookNotification>(new FacebookPushService(new FacebookPushChannelFactory(), channelSettings, serviceSettings));
 }
예제 #4
0
 public FacebookPushService(FacebookPushChannelSettings channelSettings, IPushServiceSettings serviceSettings)
     : this(default(IPushChannelFactory), channelSettings, serviceSettings)
 {
 }
예제 #5
0
 public FacebookPushChannel(FacebookPushChannelSettings channelSettings)
 {
     FacebookSettings = channelSettings as FacebookPushChannelSettings;
 }