internal FunctionJsonConverter(ILogger logger, string assemblyPath, string outputPath) { if (logger == null) { throw new ArgumentNullException(nameof(logger)); } if (string.IsNullOrEmpty(assemblyPath)) { throw new ArgumentNullException(nameof(assemblyPath)); } if (string.IsNullOrEmpty(outputPath)) { throw new ArgumentNullException(nameof(outputPath)); } _logger = logger; _assemblyPath = assemblyPath; _outputPath = outputPath.Trim('"'); if (!Path.IsPathRooted(_outputPath)) { _outputPath = Path.Combine(Directory.GetCurrentDirectory(), _outputPath); } _functionNamesSet = new Dictionary <string, MethodInfo>(StringComparer.OrdinalIgnoreCase); _buildArtifactsLog = new BuildArtifactsLog(logger, _outputPath); }