void CreateViewModel (PackageItemListViewModel package)
		{
			metadataProvider = new FakePackageMetadataProvider ();
			packageSearchMetadata = metadataProvider.AddPackageMetadata (package.Id, package.Version.ToString ());
			var solutionManager = new FakeSolutionManager ();
			var project = new FakeDotNetProject ();
			parent = new TestableAllPackagesViewModel (solutionManager, project);
			viewModel = new TestablePackageSearchResultViewModel (parent, packageItemListViewModel);
		}
		public TestablePackageSearchResultViewModel (
			TestableAllPackagesViewModel parent,
			PackageItemListViewModel viewModel)
			: base (parent, viewModel)
		{
		}
Ejemplo n.º 3
0
 public TestablePackageSearchResultViewModel(
     TestableAllPackagesViewModel parent,
     PackageItemListViewModel viewModel)
     : base(parent, viewModel)
 {
 }