コード例 #1
0
        public SqliteDatabase(IEnvironmentSettingsProvider environmentSettingsProvider, IFileSystemManager fileSystemManager)
        {
            _environmentSettingsProvider = environmentSettingsProvider;
            _fileSystemManager           = fileSystemManager;

            CreateCacheIfNotExists();
        }
コード例 #2
0
 public DefaultBuildScriptGenerator(
     IEnumerable <IProgrammingPlatform> programmingPlatforms,
     IEnvironmentSettingsProvider environmentSettingsProvider,
     ILogger <DefaultBuildScriptGenerator> logger)
 {
     _programmingPlatforms        = programmingPlatforms;
     _environmentSettingsProvider = environmentSettingsProvider;
     _logger = logger;
 }
コード例 #3
0
 public DefaultBuildScriptGenerator(
     IEnumerable <IProgrammingPlatform> programmingPlatforms,
     IEnvironmentSettingsProvider environmentSettingsProvider,
     IEnumerable <IChecker> checkers,
     ILogger <DefaultBuildScriptGenerator> logger)
 {
     _programmingPlatforms        = programmingPlatforms;
     _environmentSettingsProvider = environmentSettingsProvider;
     _logger   = logger;
     _checkers = checkers;
     _logger.LogDebug("Available checkers: {checkerCount}", _checkers?.Count() ?? 0);
 }
コード例 #4
0
ファイル: DotnetCorePlatform.cs プロジェクト: Ramstein/Oryx
 public DotnetCorePlatform(
     IDotnetCoreVersionProvider versionProvider,
     IAspNetCoreWebAppProjectFileProvider aspNetCoreWebAppProjectFileProvider,
     IEnvironmentSettingsProvider environmentSettingsProvider,
     ILogger <DotnetCorePlatform> logger,
     DotnetCoreLanguageDetector detector)
 {
     _versionProvider = versionProvider;
     _aspNetCoreWebAppProjectFileProvider = aspNetCoreWebAppProjectFileProvider;
     _environmentSettingsProvider         = environmentSettingsProvider;
     _logger   = logger;
     _detector = detector;
 }
コード例 #5
0
 public DefaultBuildScriptGenerator(
     ICompatiblePlatformDetector platformDetector,
     IEnvironmentSettingsProvider environmentSettingsProvider,
     IEnumerable <IChecker> checkers,
     ILogger <DefaultBuildScriptGenerator> logger,
     IStandardOutputWriter writer)
 {
     _platformDetector            = platformDetector;
     _environmentSettingsProvider = environmentSettingsProvider;
     _logger   = logger;
     _checkers = checkers;
     _writer   = writer;
     _logger.LogDebug("Available checkers: {checkerCount}", _checkers?.Count() ?? 0);
 }
コード例 #6
0
 public DotNetCorePlatform(
     IDotNetCoreVersionProvider versionProvider,
     IAspNetCoreWebAppProjectFileProvider aspNetCoreWebAppProjectFileProvider,
     IEnvironmentSettingsProvider environmentSettingsProvider,
     ILogger <DotNetCorePlatform> logger,
     DotNetCoreLanguageDetector detector,
     IOptions <DotNetCoreScriptGeneratorOptions> options)
 {
     _versionProvider = versionProvider;
     _aspNetCoreWebAppProjectFileProvider = aspNetCoreWebAppProjectFileProvider;
     _environmentSettingsProvider         = environmentSettingsProvider;
     _logger   = logger;
     _detector = detector;
     _options  = options.Value;
 }
コード例 #7
0
 public DotNetCorePlatform(
     IDotNetCoreVersionProvider versionProvider,
     DefaultProjectFileProvider projectFileProvider,
     IEnvironmentSettingsProvider environmentSettingsProvider,
     ILogger <DotNetCorePlatform> logger,
     DotNetCoreLanguageDetector detector,
     IOptions <BuildScriptGeneratorOptions> buildOptions,
     IOptions <DotNetCoreScriptGeneratorOptions> dotNetCorePlatformOptions)
 {
     _versionProvider             = versionProvider;
     _projectFileProvider         = projectFileProvider;
     _environmentSettingsProvider = environmentSettingsProvider;
     _logger   = logger;
     _detector = detector;
     _dotNetCorePlatformOptions = dotNetCorePlatformOptions.Value;
     _buildOptions = buildOptions.Value;
 }