Example #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);
        }
Example #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);
        }