private ContainerPlanetFormViewModel(PlanetFormViewModel planetFormViewModel, PlanetDetailFormViewModel planetDetailFormViewModel, PlanetAssetsFormViewModel planetAssetsFormViewModel, IEnumerable<ClimateZoneViewModel> climates, IEnumerable<SurfaceMorphologyViewModel> terrains) { PlanetFormViewModel = planetFormViewModel; PlanetDetailFormViewModel = planetDetailFormViewModel; PlanetAssets = planetAssetsFormViewModel; Climates = climates; Terrains = terrains; }
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; }
public static ContainerPlanetFormViewModel CreateFromViewModels(PlanetFormViewModel planetFormViewModel, PlanetDetailFormViewModel detailFormViewModel, PlanetAssetsFormViewModel planetAssetsFormViewModel, IEnumerable<ClimateZoneViewModel> climates, IEnumerable<SurfaceMorphologyViewModel> terrains) { return new ContainerPlanetFormViewModel(planetFormViewModel, detailFormViewModel, planetAssetsFormViewModel, climates, terrains); }