示例#1
0
 public Fixer(
     MetaInfo metaInfo,
     Options options,
     ICommandRunner commandRunner,
     string gitConfigCommandArguments,
     IMessageDisplayer messageDisplayer,
     ILogger logger
     ) :
     base(options, commandRunner, gitConfigCommandArguments, messageDisplayer, logger)
 {
     _metaInfo = metaInfo;
 }
示例#2
0
        // ---------------- Constructor ----------------

        public StaleSvnBranchDeleter(
            string svnUrl,
            Options options,
            ICommandRunner cmdRunner,
            IMessageDisplayer msgDisplayer,
            ILogger logger,
            MetaInfo metaInfo,
            IFileSystem fileSystem
            ) : base(options, cmdRunner, msgDisplayer, logger)
        {
            this.svnUrl     = svnUrl;
            this.metaInfo   = metaInfo;
            this.fileSystem = fileSystem;
        }
示例#3
0
        // ----------------- Constructor -----------------

        public Grabber(
            string svnUrl,
            Options options,
            ICommandRunner commandRunner,
            string gitConfigCommandArguments,
            IMessageDisplayer messageDisplayer,
            ILogger logger,
            IGcErrorIgnorer ignorer,
            ILockBreaker lockBreaker
            ) :
            base(options, commandRunner, gitConfigCommandArguments, messageDisplayer, logger)
        {
            _svnUrl   = svnUrl;
            _metaInfo = new MetaInfo()
            {
                RemoteBranches = new List <string>(),
                LocalBranches  = new List <string>(),
                Tags           = new List <string>()
            };
            _gcIgnorer   = ignorer;
            _lockBreaker = lockBreaker;
        }