Esempio n. 1
0
        public RootViewModel(Window window)
        {
            optionsViewModel = new OptionsViewModel();
            optionsViewModel.OptionsChanged += LoadAssemblies;

            Options = optionsViewModel.Options;

            Sections = new ReadOnlyObservableCollection <SectionViewModel>(workingSections);

            CloseCommand = new AnonymousCommand(window.Close);
        }
Esempio n. 2
0
        public RootViewModel(Window window)
        {
            optionsViewModel = new OptionsViewModel();
            optionsViewModel.OptionsChanged += LoadAssemblies;

            Options = optionsViewModel.Options;

            Sections = new ReadOnlyObservableCollection<SectionViewModel>(workingSections);

            CloseCommand = new AnonymousCommand(window.Close);
        }