コード例 #1
0
		public CollectionViewModelController(CollectionViewModel viewModel)
		{
			this.viewModel = viewModel;
		}
コード例 #2
0
ファイル: GraphSettings.mvvm.cs プロジェクト: ArildF/Smeedee
		public GraphSettings()
		{
			Databases = new ObservableCollection<DatabaseViewModel>();
			SelectedDatabase = new DatabaseViewModel();
			SelectedCollection = new CollectionViewModel();
			AvailableProperties = new ObservableCollection<string>();
						Graph = new Graph();
	
			Save = new DelegateCommand();
			Refresh = new DelegateCommand();
			Test = new DelegateCommand();
			Cancel = new DelegateCommand();
		
			ApplyDefaultConventions();
		}