Ejemplo n.º 1
0
 public void TestInitialize()
 {
     mockViewModel.BindGetAndSetAttributes(x => x.CityList, (x, v) => x.CityList = v);
     mockViewModel.BindGetAndSetAttributes(x => x.DistrictList, (x, v) => x.DistrictList = v);
     mockViewModel.BindGetAndSetAttributes(x => x.TownList, (x, v) => x.TownList = v);
     helper = new IRegionDefViewModelTestHelper(mockViewModel.Object, towns);
 }
 public void TestInitialize()
 {
     mockViewModel.BindGetAndSetAttributes(x => x.CityList, (x, v) => x.CityList         = v);
     mockViewModel.BindGetAndSetAttributes(x => x.DistrictList, (x, v) => x.DistrictList = v);
     mockViewModel.BindGetAndSetAttributes(x => x.TownList, (x, v) => x.TownList         = v);
     helper = new IRegionDefViewModelTestHelper(mockViewModel.Object, towns);
 }