コード例 #1
0
        public void SendToGame(long gameId, DTO.Notifications.Notification notification)
        {
            var pushNotificationService = this.LifetimeScope.Resolve <IGameNotificationService>();

            pushNotificationService.SendNotification(gameId, notification);
        }
コード例 #2
0
        public void SendToUser(string userId, DTO.Notifications.Notification notification)
        {
            var pushNotificationService = this.LifetimeScope.Resolve <IUserNotificationService>();

            pushNotificationService.SendNotification(userId, notification);
        }