public NodeLanguageDetector( INodeVersionProvider nodeVersionProvider, IOptions <NodeScriptGeneratorOptions> options, ILogger <NodeLanguageDetector> logger) { _versionProvider = nodeVersionProvider; _nodeScriptGeneratorOptions = options.Value; _logger = logger; }
public TestNodeLanguageDetector( INodeVersionProvider nodeVersionProvider, IOptions <NodeScriptGeneratorOptions> nodeScriptGeneratorOptions, ILogger <NodeLanguageDetector> logger, IEnvironment environment, IStandardOutputWriter writer) : base(nodeVersionProvider, nodeScriptGeneratorOptions, logger, environment, writer) { }
public NodePlatform( IOptions <NodeScriptGeneratorOptions> nodeScriptGeneratorOptions, INodeVersionProvider nodeVersionProvider, ILogger <NodePlatform> logger, NodeLanguageDetector detector) { _nodeScriptGeneratorOptions = nodeScriptGeneratorOptions.Value; _nodeVersionProvider = nodeVersionProvider; _logger = logger; _detector = detector; }
public NodeLanguageDetector( INodeVersionProvider nodeVersionProvider, IOptions <NodeScriptGeneratorOptions> options, ILogger <NodeLanguageDetector> logger, IEnvironment environment, IStandardOutputWriter writer) { _versionProvider = nodeVersionProvider; _nodeScriptGeneratorOptions = options.Value; _logger = logger; _environment = environment; _writer = writer; }
/// <summary> /// Initializes a new instance of the <see cref="NodePlatform"/> class. /// </summary> /// <param name="nodeScriptGeneratorOptions">The options for nodeScriptGenerator.</param> /// <param name="nodeVersionProvider">The Node.js version provider.</param> /// <param name="logger">The logger of Node.js platform.</param> /// <param name="detector">The detector of Node.js platform.</param> /// <param name="environment">The environment of Node.js platform.</param> public NodePlatform( IOptions <BuildScriptGeneratorOptions> commonOptions, IOptions <NodeScriptGeneratorOptions> nodeScriptGeneratorOptions, INodeVersionProvider nodeVersionProvider, ILogger <NodePlatform> logger, NodeLanguageDetector detector, IEnvironment environment, NodePlatformInstaller nodePlatformInstaller) { _commonOptions = commonOptions.Value; _nodeScriptGeneratorOptions = nodeScriptGeneratorOptions.Value; _nodeVersionProvider = nodeVersionProvider; _logger = logger; _detector = detector; _environment = environment; _platformInstaller = nodePlatformInstaller; }
/// <summary> /// Initializes a new instance of the <see cref="NodePlatform"/> class. /// </summary> /// <param name="commonOptions">The <see cref="BuildScriptGeneratorOptions"/>.</param> /// <param name="nodeScriptGeneratorOptions">The options for nodeScriptGenerator.</param> /// <param name="nodeVersionProvider">The Node.js version provider.</param> /// <param name="logger">The logger of Node.js platform.</param> /// <param name="detector">The detector of Node.js platform.</param> /// <param name="environment">The environment of Node.js platform.</param> /// <param name="nodePlatformInstaller">The <see cref="NodePlatformInstaller"/>.</param> public NodePlatform( IOptions <BuildScriptGeneratorOptions> commonOptions, IOptions <NodeScriptGeneratorOptions> nodeScriptGeneratorOptions, INodeVersionProvider nodeVersionProvider, ILogger <NodePlatform> logger, INodePlatformDetector detector, IEnvironment environment, NodePlatformInstaller nodePlatformInstaller) { this.commonOptions = commonOptions.Value; this.nodeScriptGeneratorOptions = nodeScriptGeneratorOptions.Value; this.nodeVersionProvider = nodeVersionProvider; this.logger = logger; this.detector = detector; this.environment = environment; this.platformInstaller = nodePlatformInstaller; }
public TestNodePlatform( IOptions <BuildScriptGeneratorOptions> cliOptions, IOptions <NodeScriptGeneratorOptions> nodeScriptGeneratorOptions, INodeVersionProvider nodeVersionProvider, ILogger <NodePlatform> logger, INodePlatformDetector detector, IEnvironment environment, NodePlatformInstaller nodePlatformInstaller) : base( cliOptions, nodeScriptGeneratorOptions, nodeVersionProvider, logger, detector, environment, nodePlatformInstaller) { }