Пример #1
0
        public PlayerBoardViewModel(string userName, Player player)
        {
            Player = player;
            ComissionDisplayString = player.Commission != null?
                                     player.Commission.ArtType.ToString() + " " + player.Commission.Category.ToString() : "No Commissioned Art";

            SetUnemplayedAssitants(userName, player);
            SetExhibitingArt(player);
            SetReputationLocations(userName, player);
            ContractView = new PlayerContractsViewModel(userName, player);
        }
        public PlayerBoardViewModel(string userName, Player player)
        {
            Player = player;
            ComissionDisplayString = player.Commission != null ?
                player.Commission.ArtType.ToString() + " " + player.Commission.Category.ToString() : "No Commissioned Art";

            SetUnemplayedAssitants(userName, player);
            SetExhibitingArt(player);
            SetReputationLocations(userName, player);
            ContractView = new PlayerContractsViewModel(userName, player);
        }