public ObjectFileParser(
     ClientMetrics metrics,
     ILogger <ObjectFileParser> logger,
     FatBinaryReader?fatBinaryReader = null)
 {
     if (fatBinaryReader is null &&
         logger is {} &&
예제 #2
0
        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;
        }
예제 #3
0
 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;
 }