in src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Services/UploaderProxy/OutOfProcCaller.cs [19:37]
public OutOfProcCaller(
string fileName,
string arguments,
ILogger<OutOfProcCaller> logger)
{
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
if (string.IsNullOrEmpty(fileName))
{
throw new ArgumentException($"'{nameof(fileName)}' cannot be null or empty.", nameof(fileName));
}
_fileName = fileName;
if (string.IsNullOrEmpty(arguments))
{
throw new ArgumentException($"'{nameof(arguments)}' cannot be null or empty.", nameof(arguments));
}
_arguments = arguments;
}