Esempio n. 1
0
        private void UpdateWorlds()
        {
            var worlds      = this.sectionService.EnumerateWorlds();
            var worldsModel = new ComboBoxViewModel(worlds.ToList());

            this.worlds.OnNext(worldsModel);
        }
Esempio n. 2
0
        private void UpdateWorlds()
        {
            this.worldsInvalidated.OnNext(false);

            var worlds      = this.featureService.EnumerateWorlds();
            var worldsModel = new ComboBoxViewModel(worlds.ToList());

            this.worlds.OnNext(worldsModel);
        }
Esempio n. 3
0
        private void UpdateCategories()
        {
            var world = this.worlds.Value.SelectedItem;

            var categories      = this.sectionService.EnumerateCategories(world);
            var categoriesModel = new ComboBoxViewModel(categories.ToList());

            this.categories.OnNext(categoriesModel);
        }
Esempio n. 4
0
        private void UpdateCategories()
        {
            this.categoriesInvalidated.OnNext(false);

            var world           = this.worlds.Value.SelectedItem;
            var categories      = this.featureService.EnumerateCategories(world);
            var categoriesModel = new ComboBoxViewModel(categories.ToList());

            this.categories.OnNext(categoriesModel);
        }