Exemplo n.º 1
0
 private ContainerPlanetFormViewModel(PlanetFormViewModel planetFormViewModel, PlanetDetailFormViewModel planetDetailFormViewModel, PlanetAssetsFormViewModel planetAssetsFormViewModel, IEnumerable<ClimateZoneViewModel> climates, IEnumerable<SurfaceMorphologyViewModel> terrains)
 {
     PlanetFormViewModel = planetFormViewModel;
     PlanetDetailFormViewModel = planetDetailFormViewModel;
     PlanetAssets = planetAssetsFormViewModel;
     Climates = climates;
     Terrains = terrains;
 }
Exemplo n.º 2
0
 private ContainerPlanetFormViewModel(Planet planet, PlanetDetail planetDetail, FileManager fileManager, IEnumerable<ClimateZoneViewModel> climates, IEnumerable<SurfaceMorphologyViewModel> terrains)
 {
     PlanetFormViewModel = new PlanetFormViewModel(planet);
     PlanetDetailFormViewModel = new PlanetDetailFormViewModel(planetDetail);
     PlanetAssets = new PlanetAssetsFormViewModel(planet, fileManager);
     Climates = climates;
     Terrains = terrains;
 }
Exemplo n.º 3
0
 public static ContainerPlanetFormViewModel CreateFromViewModels(PlanetFormViewModel planetFormViewModel, PlanetDetailFormViewModel detailFormViewModel, PlanetAssetsFormViewModel planetAssetsFormViewModel, IEnumerable<ClimateZoneViewModel> climates, IEnumerable<SurfaceMorphologyViewModel> terrains)
 {
     return new ContainerPlanetFormViewModel(planetFormViewModel, detailFormViewModel, planetAssetsFormViewModel, climates, terrains);
 }