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);
        }
Beispiel #2
0
 public void Init(Hangar other)
 {
 }
Beispiel #3
0
 public HangarVm(Hangar hangar)
 {
     _hangar = hangar;
 }