void Handle(RecentItemRemoved message) { var gameState = Games[message.Content.GameId].State; ContentStatus state; if (gameState.TryGetValue(message.Content.Id, out state)) { state.LastUsed = null; } }
// 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; }