コード例 #1
0
		public SelectProjectsDialog (SelectProjectsViewModel viewModel)
		{
			this.Build ();
			this.viewModel = viewModel;
			InitializeTreeView ();
			AddProjectsToTreeView ();
		}
コード例 #2
0
		SelectProjectsDialog CreateSelectProjectsDialog(IEnumerable<IPackageManagementSelectedProject> projects)
		{
			var viewModel = new SelectProjectsViewModel(projects);
			return new SelectProjectsDialog(viewModel);
		}
コード例 #3
0
 void CreateViewModel(List <FakeSelectedProject> fakeSelectedProjects)
 {
     viewModel = new SelectProjectsViewModel(fakeSelectedProjects);
 }