public ObjectFileParser( ClientMetrics metrics, ILogger <ObjectFileParser> logger, FatBinaryReader?fatBinaryReader = null) { if (fatBinaryReader is null && logger is {} &&
public Client( ISymbolClient symbolClient, ObjectFileParser objectFileParser, SymbolClientOptions options, ClientMetrics metrics, ILogger <Client> logger) { Metrics = metrics; _symbolClient = symbolClient; _objectFileParser = objectFileParser; _logger = logger; ParallelTasks = options.ParallelTasks; _blockListedPaths = options.BlockListedPaths; }
public ObjectFileParser( ClientMetrics metrics, IOptions <ObjectFileParserOptions> options, ILogger <ObjectFileParser> logger, FatBinaryReader?fatBinaryReader = null) { if (fatBinaryReader is null && RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { logger.LogWarning("No FatBinaryReader was provided while running on macOS."); } _options = options.Value; _fatBinaryReader = fatBinaryReader; _logger = logger; Metrics = metrics; }