Exemplo n.º 1
0
        public void Handle(Dumb.ClientModelLoaded message)
        {
            _loaded = true;

            _view.UpdateInboxNode(message.Model.Inbox.Count);
            _view.ReloadProjectList(message.Model.Projects.Select(p => p.Info).ToList());

            foreach (var key in message.Model.Projects)
            {
                _projectKeys[key.Info.UIKey] = key.Info.ProjectId;
            }
        }