Exemple #1
0
 public GitCommandProcessor(WorkerConfiguration configuration, IProgressLog progressLog, IGitHubClientFactory gitHubClientFactory, IGitWrapperFactory gitWrapperFactory)
 {
     Configuration        = configuration;
     ProgressLog          = progressLog;
     _gitHubClientFactory = gitHubClientFactory;
     _gitWrapperFactory   = gitWrapperFactory;
 }
 public GitCommandProcessorFactory(IGitHubClientFactory clientFactory, IGitWrapperFactory wrapperFactory,
                                   WorkerConfiguration config)
 {
     _clientFactory  = clientFactory;
     _wrapperFactory = wrapperFactory;
     _config         = config;
 }
 public QuinceRepository(string repositoryPath, IGraph configurationGraph, IGitWrapperFactory gitWrapperFactory)
 {
     if (!Directory.Exists(repositoryPath))
     {
         Log.LogError("Could not find repository directory at {0}", repositoryPath);
         throw new RepositoryNotFoundException(repositoryPath);
     }
     _repositoryPath    = repositoryPath;
     _gitWrapperFactory = gitWrapperFactory;
     ConfigGraph        = configurationGraph;
     ReadConfiguration();
 }