コード例 #1
0
        public void Load()
        {
            if (MenuItems.Count == 0)
            {
                foreach (var menuOption in _lookupService.GetMenuOptions().ToList())
                {
                    MenuItems.Add(menuOption);
                }

                foreach (var settingsOption in _lookupService.GetSettingsOptions().ToList())
                {
                    Options.Add(settingsOption);
                }
            }
        }