コード例 #1
0
 public PrivateMessageService(
     IEntityRepository <PrivateMessageRecord> entityRepository,
     IStorageServiceFactory storageServiceFactory,
     IPushEventMediator pushEventMediator
     )
     : base(entityRepository, storageServiceFactory)
 {
     _pushEventMediator = pushEventMediator;
 }
コード例 #2
0
 public UpdateNewsJob(
     IAnnouncementService announcementService,
     IPushEventMediator pushEventMediator,
     [KeyFilter("updateNews")] IConfiguration configuration,
     ILoggerFactory loggerFactory)
 {
     _announcementService = announcementService;
     _pushEventMediator   = pushEventMediator;
     _configuration       = configuration;
     _logger = loggerFactory.CreateLogger(GetType());
 }
 public PushNotificationsController(
     IPushEventMediator pushEventMediator,
     IWnsChannelManager wnsChannelManager,
     IFirebaseChannelManager firebaseChannelManager,
     IApiPrincipal apiPrincipal)
 {
     _firebaseChannelManager = firebaseChannelManager;
     _pushEventMediator      = pushEventMediator;
     _apiPrincipal           = apiPrincipal;
     _wnsChannelManager      = wnsChannelManager;
 }
コード例 #4
0
 public AnnouncementsController(IAnnouncementService announcementService, IPushEventMediator eventMediator)
 {
     _announcementService = announcementService;
     _eventMediator       = eventMediator;
 }