示例#1
0
        public MainWindowViewModel()
        {
            DisplayViewModel = new RelayCommand <ViewModelBase>(OnDisplayViewModel);
            BuildingRepository    buildingRepository = new BuildingRepository();
            BuildingTreeViewModel buildingViewModel  = new BuildingTreeViewModel(buildingRepository.GetBuildingFromXMLFile("test"));

            Building = buildingViewModel;
        }