public PackageUpdater( IGitHub gitHub, IUpdateRunner localUpdater, INuKeeperLogger logger) { _gitHub = gitHub; _updateRunner = localUpdater; _logger = logger; }
public PackageUpdater( ICollaborationFactory collaborationFactory, IUpdateRunner localUpdater, INuKeeperLogger logger) { _collaborationFactory = collaborationFactory; _updateRunner = localUpdater; _logger = logger; }
public LocalUpdater( IUpdateSelection selection, IUpdateRunner updateRunner, INuKeeperLogger logger) { _selection = selection; _updateRunner = updateRunner; _logger = logger; }
public LocalUpdater( IUpdateSelection selection, IUpdateRunner updateRunner, SolutionsRestore solutionsRestore, INuKeeperLogger logger) { _selection = selection; _updateRunner = updateRunner; _solutionsRestore = solutionsRestore; _logger = logger; }
public PackageUpdater( IGithub github, IUpdateRunner localUpdater, INuKeeperLogger logger, ModalSettings modalSettings) { _github = github; _updateRunner = localUpdater; _logger = logger; _modalSettings = modalSettings; }
public PackageUpdater( ICollaborationFactory collaborationFactory, IExistingCommitFilter existingCommitFilter, IUpdateRunner localUpdater, INuKeeperLogger logger) { _collaborationFactory = collaborationFactory; _existingCommitFilter = existingCommitFilter; _updateRunner = localUpdater; _logger = logger; }
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])); }
public PackageUpdaterCreator(INuKeeperLogger logger, ICreate <IGitHub> githubCreator, IUpdateRunner updateRunner) { _logger = logger; _githubCreator = githubCreator; _updateRunner = updateRunner; }
public LocalUpdaterCreator(INuKeeperLogger logger, IUpdateRunner updateRunner, ICreate <IUpdateSelection> updateSelectionCreator) { _logger = logger; _updateRunner = updateRunner; _updateSelectionCreator = updateSelectionCreator; }