12 writes to Extensions
BasicWebSite (2)
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
MinimalSample (2)
XmlFormattersWebSite (2)
118 references to Extensions
Diagnostics.FunctionalTests (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Diagnostics.Tests (20)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Http.Abstractions.Tests (9)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Extensions.Tests (19)
ProblemDetailsDefaultWriterTest.cs (19)
56Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
161Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
201Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
241Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
281Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
324Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
367Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
410Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
453Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
465expectedProblem.Extensions["Extension1"] = "Extension1-Value";
466expectedProblem.Extensions["Extension2"] = "Extension2-Value";
481Assert.Collection(problemDetails.Extensions,
512expectedProblem.Extensions["Extension"] = customExtensionData;
529Assert.Collection(problemDetails.Extensions,
564Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
578context.ProblemDetails.Extensions["new-extension"] = new { TraceId = Guid.NewGuid() };
579context.ProblemDetails.Extensions["traceId"] = expectedTraceId;
600Assert.Contains("new-extension", problemDetails.Extensions);
601Assert.Equal(expectedTraceId, problemDetails.Extensions["traceId"].ToString());
Microsoft.AspNetCore.Http.Results (10)
Microsoft.AspNetCore.Http.Results.Tests (15)
Microsoft.AspNetCore.Mvc.Core (8)
Microsoft.AspNetCore.Mvc.Core.Test (23)
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)