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