public PostStopOptions()

in src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Contracts/PostStopOptions.cs [13:33]


    public PostStopOptions(
        string traceFilePath,
        DateTimeOffset sessionId,
        Uri stampFrontendHostUrl,
        IEnumerable<SampleActivity> samples,
        IProfilerSource profilerSource,
        string? uploaderFullPath = null
        )
    {
        if (string.IsNullOrEmpty(traceFilePath))
        {
            throw new ArgumentException($"'{nameof(traceFilePath)}' cannot be null or empty.", nameof(traceFilePath));
        }

        TraceFilePath = traceFilePath;
        SessionId = sessionId;
        StampFrontendHostUrl = stampFrontendHostUrl;
        Samples = samples ?? throw new ArgumentNullException(nameof(samples));
        ProfilerSource = profilerSource ?? throw new ArgumentNullException(nameof(profilerSource));
        UploaderFullPath = uploaderFullPath;
    }