Пример #1
0
 public GitIgnoreCreator(
     INewRepoSettings settings,
     IHttpClientFactory httpClientFactory,
     ILogger <GitIgnoreCreator> logger)
     : base(settings, logger)
 {
     _httpClientFactory = httpClientFactory;
 }
Пример #2
0
 public ReadmeCreator(
     INewRepoSettings settings,
     ILogger <ReadmeCreator> logger,
     IHttpClientFactory httpClientFactory)
     : base(settings, logger)
 {
     _httpClientFactory = httpClientFactory;
 }
Пример #3
0
 public InitService(
     INewRepoSettings settings,
     ILogger <NewRepoService> logger,
     IHostApplicationLifetime appLifetime)
 {
     _settings    = settings;
     _logger      = logger;
     _appLifetime = appLifetime;
 }
Пример #4
0
 public NewRepoService(
     INewRepoSettings settings,
     IEnumerable <ICreator> creators,
     ILogger <NewRepoService> logger,
     IHostApplicationLifetime appLifetime)
 {
     _settings    = settings;
     _creators    = creators;
     _logger      = logger;
     _appLifetime = appLifetime;
 }
Пример #5
0
        public CreatorBase(INewRepoSettings settings, ILogger logger)
        {
            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            _settings = settings;
            _logger   = logger;
            _root     = _settings.Root;
            _src      = _root.SubDirectory("src");
            _tests    = _root.SubDirectory("tests");
        }
Пример #6
0
 public BenchmarkDotNetCreator(
     INewRepoSettings settings,
     ILogger <BenchmarkDotNetCreator> logger)
     : base(settings, logger)
 {
 }
Пример #7
0
 public AzurePipelinesCreator(
     INewRepoSettings settings,
     ILogger <AzurePipelinesCreator> logger)
     : base(settings, logger)
 {
 }
Пример #8
0
 public DirectoryBuildPropsCreator(
     INewRepoSettings settings,
     ILogger <DirectoryBuildPropsCreator> logger)
     : base(settings, logger)
 {
 }
Пример #9
0
 public IssueTrackerCreator(
     INewRepoSettings settings,
     ILogger <IssueTrackerCreator> logger)
     : base(settings, logger)
 {
 }
Пример #10
0
 public GitCreator(
     INewRepoSettings settings,
     ILogger <GitCreator> logger)
     : base(settings, logger)
 {
 }
Пример #11
0
 public DotnetCreator(
     INewRepoSettings settings,
     ILogger <DotnetCreator> logger)
     : base(settings, logger)
 {
 }
Пример #12
0
 public RepositoryCreator(
     INewRepoSettings settings,
     ILogger <RepositoryCreator> logger)
     : base(settings, logger)
 {
 }