コード例 #1
0
        public GetCommand(SetupParameters setupParameters,
                        IVersionRepository versionRepository)
        {
            _setupParameters = setupParameters;

            _utility = new ConsoleUtility();

            _versionRepository = versionRepository;
        }
コード例 #2
0
 public VersionitConsole(string[] args,IVersionRepository versionRepository)
     : base("Versionit")
 {
     _args = args;
     _versionRepository = versionRepository;
     _logger = new ConsoleUtility();
     _setupParameters = new SetupParameters();
     _fileUtility = new FileUtility();
     _sqlMessageUtility = new SqlMessageUtility();
 }
コード例 #3
0
        public ScriptCommand(SetupParameters setupParameters, 
                             IVersionRepository versionRepository,
                            IFileUtility fileUtility,
                            IMessageUtility messageUtility)
        {
            _setupParameters = setupParameters;

            _utility = new ConsoleUtility();

            _versionRepository = versionRepository;

            _fileUtility = fileUtility;

            _messageUtility = messageUtility;
        }
コード例 #4
0
 public ExitCommand()
 {
     _utility = new ConsoleUtility();
 }
コード例 #5
0
        public InfoCommand(params Type[] types)
        {
            _utility = new ConsoleUtility();

            _types = types;
        }
コード例 #6
0
        public SetupCommand(SetupParameters setupParameters)
        {
            _setupParameters = setupParameters;

            _utility = new ConsoleUtility();
        }