コード例 #1
0
ファイル: PackageUpdater.cs プロジェクト: GeradeDev/NuKeeper
 public PackageUpdater(
     IGitHub gitHub,
     IUpdateRunner localUpdater,
     INuKeeperLogger logger)
 {
     _gitHub       = gitHub;
     _updateRunner = localUpdater;
     _logger       = logger;
 }
コード例 #2
0
ファイル: PackageUpdater.cs プロジェクト: shep1987/NuKeeper
 public PackageUpdater(
     ICollaborationFactory collaborationFactory,
     IUpdateRunner localUpdater,
     INuKeeperLogger logger)
 {
     _collaborationFactory = collaborationFactory;
     _updateRunner         = localUpdater;
     _logger = logger;
 }
コード例 #3
0
 public LocalUpdater(
     IUpdateSelection selection,
     IUpdateRunner updateRunner,
     INuKeeperLogger logger)
 {
     _selection    = selection;
     _updateRunner = updateRunner;
     _logger       = logger;
 }
コード例 #4
0
 public LocalUpdater(
     IUpdateSelection selection,
     IUpdateRunner updateRunner,
     SolutionsRestore solutionsRestore,
     INuKeeperLogger logger)
 {
     _selection        = selection;
     _updateRunner     = updateRunner;
     _solutionsRestore = solutionsRestore;
     _logger           = logger;
 }
コード例 #5
0
ファイル: PackageUpdater.cs プロジェクト: ScheerMT/NuKeeper
 public PackageUpdater(
     IGithub github,
     IUpdateRunner localUpdater,
     INuKeeperLogger logger,
     ModalSettings modalSettings)
 {
     _github        = github;
     _updateRunner  = localUpdater;
     _logger        = logger;
     _modalSettings = modalSettings;
 }
コード例 #6
0
ファイル: PackageUpdater.cs プロジェクト: zubivan/NuKeeper
 public PackageUpdater(
     ICollaborationFactory collaborationFactory,
     IExistingCommitFilter existingCommitFilter,
     IUpdateRunner localUpdater,
     INuKeeperLogger logger)
 {
     _collaborationFactory = collaborationFactory;
     _existingCommitFilter = existingCommitFilter;
     _updateRunner         = localUpdater;
     _logger = logger;
 }
コード例 #7
0
        public void Initialize()
        {
            _collaborationFactory = Substitute.For <ICollaborationFactory>();
            _existingCommitFilter = Substitute.For <IExistingCommitFilter>();
            _updateRunner         = Substitute.For <IUpdateRunner>();

            _existingCommitFilter
            .Filter(
                Arg.Any <IGitDriver>(),
                Arg.Any <IReadOnlyCollection <PackageUpdateSet> >(),
                Arg.Any <string>(),
                Arg.Any <string>()
                )
            .Returns(ci => ((IReadOnlyCollection <PackageUpdateSet>)ci[1]));
        }
コード例 #8
0
 public PackageUpdaterCreator(INuKeeperLogger logger, ICreate <IGitHub> githubCreator, IUpdateRunner updateRunner)
 {
     _logger        = logger;
     _githubCreator = githubCreator;
     _updateRunner  = updateRunner;
 }
コード例 #9
0
 public LocalUpdaterCreator(INuKeeperLogger logger, IUpdateRunner updateRunner, ICreate <IUpdateSelection> updateSelectionCreator)
 {
     _logger                 = logger;
     _updateRunner           = updateRunner;
     _updateSelectionCreator = updateSelectionCreator;
 }