コード例 #1
0
ファイル: StateHandler.cs プロジェクト: dkv01/withSIX.Desktop
        void Handle(RecentItemRemoved message)
        {
            var           gameState = Games[message.Content.GameId].State;
            ContentStatus state;

            if (gameState.TryGetValue(message.Content.Id, out state))
            {
                state.LastUsed = null;
            }
        }
コード例 #2
0
 // TODO! notification.Content.GameId,
 public void Handle(RecentItemRemoved notification)
 {
     _hubContext.Value.Clients.All.RecentItemRemoved(notification.Content.Id);
 }
コード例 #3
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;
 }