Screen Create(ScreenInfo screenInfo)
        {
            var mainPage = new Screen(screenInfo.Name)
            {
                IsActive  = screenInfo.IsActive,
                IsMutual  = screenInfo.IsMutual,
                IsEnabled = screenInfo.IsEnabled,
            };

            foreach (var subSi in screenInfo.ScreenInfos)
            {
                var s = Create(subSi);
                mainPage.AddChildScreen(s);
            }

            return(mainPage);
        }
Beispiel #2
0
 public ScreenSchema(ScreenInfo topScreenInfo)
 {
     TopScreenInfo = topScreenInfo;
 }