コード例 #1
0
 public HandlerService(
     IPushTokenService pushTokenService,
     IdentityServerOptions options,
     IHttpContextAccessor context,
     IEventSink sink,
     ISystemClock clock)
     : base(options, context, sink, clock)
 {
     PushTokenService = pushTokenService;
 }
コード例 #2
0
 public PushTokenController(IPushTokenService pushTokenService)
 {
     PushTokenService = pushTokenService;
 }
コード例 #3
0
 public JobService(ICacheService cacheService, IPushTokenService pushTokenService)
 {
     _pushTokenService = pushTokenService ?? throw new ArgumentNullException(nameof(pushTokenService));
     _cacheService     = cacheService ?? throw new ArgumentNullException(nameof(cacheService));
 }