private void EditHangar(Hangar hangar)
        {
            //var otherHangar = hangar.ConvertTo<Hangar>();
            //otherHangar.FirstEndWall = hangar.FirstEndWall.ConvertTo<EndWall>();
            //otherHangar.SecondEndWall = hangar.SecondEndWall.ConvertTo<EndWall>();
            //otherHangar.SubstuctureType = hangar.SubstuctureType.ConvertTo<SubstuctureType>();
            //otherHangar.AdditionConstructions = new List<AdditionConstruction>(hangar.AdditionConstructions.Select(x => x.ConvertTo<AdditionConstruction>()));

            _navigationService.OpenView(RegionNames.DialogRegion, ViewNames.HangarEditView, hangar);
        }
Esempio n. 2
0
 public void Init(Hangar other)
 {
 }
Esempio n. 3
0
 public HangarVm(Hangar hangar)
 {
     _hangar = hangar;
 }