Esempio n. 1
0
        void Handle(RecentItemRemoved message)
        {
            var           gameState = Games[message.Content.GameId].State;
            ContentStatus state;

            if (gameState.TryGetValue(message.Content.Id, out state))
            {
                state.LastUsed = null;
            }
        }
Esempio n. 2
0
 // TODO! notification.Content.GameId,
 public void Handle(RecentItemRemoved notification)
 {
     _hubContext.Value.Clients.All.RecentItemRemoved(notification.Content.Id);
 }
 void Handle(RecentItemRemoved message) {
     var gameState = Games[message.Content.GameId].State;
     ContentStatus state;
     if (gameState.TryGetValue(message.Content.Id, out state))
         state.LastUsed = null;
 }