コード例 #1
0
 public PushController(IPushService pushService,
                       ILogger <PushController> logger, IPushConfigurationManager pushConfigurationManager)
 {
     this.pushService = pushService;
     this.logger      = logger;
     this.pushConfigurationManager = pushConfigurationManager;
 }
コード例 #2
0
 public static async Task UpdateAsync(this IPushConfigurationManager pushConfigurationManager, string userId, string configurationId, FirebasePushChannelRegistration registration)
 {
     await pushConfigurationManager.UpdateAsync(userId, configurationId, ToPushChannelRegistration(registration));
 }
コード例 #3
0
 public static async Task <PushChannelConfiguration> RegisterAsync(this IPushConfigurationManager pushConfigurationManager, string userId, FirebasePushChannelRegistration registration)
 {
     return(await pushConfigurationManager.RegisterAsync(userId, ToPushChannelRegistration(registration)));
 }
コード例 #4
0
 public PushChannelsController(IPushConfigurationManager pushConfigurationManager)
 {
     this.pushConfigurationManager = pushConfigurationManager;
 }