4 writes to PathParameters
Microsoft.Extensions.Http.Diagnostics (4)
Logging\Internal\HttpRequestReader.cs (3)
221
logRecord.
PathParameters
= null;
258
logRecord.
PathParameters
= null;
267
logRecord.
PathParameters
= routeParams;
Logging\Internal\LogRecord.cs (1)
88
PathParameters
= null;
7 references to PathParameters
Microsoft.Extensions.Http.Diagnostics (5)
Logging\Internal\Log.cs (2)
131
if (record.
PathParameters
is not null)
133
loggerMessageState.AddPathParameters(record.
PathParameters
, record.PathParametersCount, ref index);
Logging\Internal\LogRecord.cs (3)
74
/// Gets or sets request path parameters count for <see cref="
PathParameters
"/>.
85
if (
PathParameters
!= null)
87
ArrayPool<HttpRouteParameter>.Shared.Return(
PathParameters
);
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\HttpRequestReaderTest.cs (2)
316
actualRecord.Should().BeEquivalentTo(expectedRecord, o => o.Excluding(x => x.
PathParameters
));
319
actualRecord.
PathParameters
.Should().NotBeNull().And.Subject.Take(actualRecord.PathParametersCount).Should().BeEquivalentTo(expectedParameters);