Example #1
0
 public TestablePackagesViewModel(
     FakeRegisteredPackageRepositories registeredPackageRepositories,
     FakeTaskFactory taskFactory)
     : base(
         registeredPackageRepositories,
         new FakePackageViewModelFactory(),
         taskFactory)
 {
     FakeRegisteredPackageRepositories = registeredPackageRepositories;
     FakeTaskFactory = taskFactory;
 }
 public TestablePackagesViewModel(
     FakeRegisteredPackageRepositories registeredPackageRepositories,
     FakeTaskFactory taskFactory)
     : base(
         new FakePackageManagementSolution(),
         new FakePackageManagementEvents(),
         registeredPackageRepositories,
         new FakePackageViewModelFactory(),
         taskFactory)
 {
     FakeRegisteredPackageRepositories = registeredPackageRepositories;
     FakeTaskFactory = taskFactory;
 }
 public TestablePackagesViewModel(FakePackageManagementService packageManagementService, FakeTaskFactory taskFactory)
     : base(packageManagementService, new FakeMessageReporter(), taskFactory)
 {
     FakePackageManagementService = packageManagementService;
     FakeTaskFactory = taskFactory;
 }