Пример #1
0
 private static void FilterIsPassThrough(IUpdateSelection selection)
 {
     selection
     .Filter(
         Arg.Any <IReadOnlyCollection <PackageUpdateSet> >(),
         Arg.Any <FilterSettings>())
     .Returns(x => x.ArgAt <IReadOnlyCollection <PackageUpdateSet> >(0));
 }
Пример #2
0
 public LocalUpdater(
     IUpdateSelection selection,
     IUpdateRunner updateRunner,
     INuKeeperLogger logger)
 {
     _selection    = selection;
     _updateRunner = updateRunner;
     _logger       = logger;
 }
 public PackageUpdateSelection(
     IPackageUpdateSetSort sort,
     IUpdateSelection updateSelection,
     INuKeeperLogger logger)
 {
     _logger          = logger;
     _sort            = sort;
     _updateSelection = updateSelection;
 }
Пример #4
0
 public LocalUpdater(
     IUpdateSelection selection,
     IUpdateRunner updateRunner,
     SolutionsRestore solutionsRestore,
     INuKeeperLogger logger)
 {
     _selection        = selection;
     _updateRunner     = updateRunner;
     _solutionsRestore = solutionsRestore;
     _logger           = logger;
 }
Пример #5
0
 public PackageUpdateSelection(
     IExistingBranchFilter existingBranchFilter,
     IPackageUpdateSetSort sort,
     IUpdateSelection updateSelection,
     INuKeeperLogger logger)
 {
     _logger = logger;
     _existingBranchFilter = existingBranchFilter;
     _sort            = sort;
     _updateSelection = updateSelection;
 }
Пример #6
0
 public PackageUpdateSelectionCreator(
     ICreate <IExistingBranchFilter> existingBranchFilterCreator,
     IPackageUpdateSetSort packageUpdateSetSort,
     IUpdateSelection updateSelection,
     INuKeeperLogger logger)
 {
     _existingBranchFilterCreator = existingBranchFilterCreator;
     _packageUpdateSetSort        = packageUpdateSetSort;
     _updateSelection             = updateSelection;
     _logger = logger;
 }