コード例 #1
0
 public TestablePackagesViewModel(
     FakeRegisteredPackageRepositories registeredPackageRepositories,
     FakeTaskFactory taskFactory)
     : base(
         registeredPackageRepositories,
         new FakePackageViewModelFactory(),
         taskFactory)
 {
     FakeRegisteredPackageRepositories = registeredPackageRepositories;
     FakeTaskFactory = taskFactory;
 }
コード例 #2
0
 public TestablePackagesViewModel(
     FakeRegisteredPackageRepositories registeredPackageRepositories,
     FakeTaskFactory taskFactory)
     : base(
         new FakePackageManagementSolution(),
         new FakePackageManagementEvents(),
         registeredPackageRepositories,
         new FakePackageViewModelFactory(),
         taskFactory)
 {
     FakeRegisteredPackageRepositories = registeredPackageRepositories;
     FakeTaskFactory = taskFactory;
 }
コード例 #3
0
 public TestablePackagesViewModel(FakePackageManagementService packageManagementService, FakeTaskFactory taskFactory)
     : base(packageManagementService, new FakeMessageReporter(), taskFactory)
 {
     FakePackageManagementService = packageManagementService;
     FakeTaskFactory = taskFactory;
 }