Ejemplo n.º 1
0
        public TabViewModel(IRenameableProvider provider, IReadOnlyCollection <Document> docs, OptionsViewModel optionsViewModel)
        {
            _provider         = provider;
            _docs             = docs;
            _optionsViewModel = optionsViewModel;

            Renameables = new ObservableCollection <RenameableViewModel>();

            FillRenameables();

            _optionsViewModel.PropertyChanged += (s, e) => OptionsVmOnPropertyChanged();
        }
Ejemplo n.º 2
0
 public MainViewModel(RevitService service)
 {
     _service = service;
     Options  = new OptionsViewModel();
 }