1 instantiation of TraceIdentifier
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\SharedTypes.cs (1)
536return ValueTask.FromResult(new TraceIdentifier(context.TraceIdentifier));
10 references to TraceIdentifier
Microsoft.AspNetCore.Http.Extensions.Tests (10)
RequestDelegateGenerator\RequestDelegateCreationTests.Forms.cs (8)
307var traceIdArgument = Assert.IsType<TraceIdentifier>(httpContext.Items["traceId"]); 464var traceIdArgument = Assert.IsAssignableFrom<TraceIdentifier>(httpContext.Items["traceId"]); 509var traceIdArgument = Assert.IsAssignableFrom<TraceIdentifier>(httpContext.Items["traceId"]); 775var traceIdArgument = Assert.IsType<TraceIdentifier>(httpContext.Items["traceId"]);
RequestDelegateGenerator\SharedTypes.cs (2)
532public static implicit operator string(TraceIdentifier value) => value.Id; 534public static ValueTask<TraceIdentifier> BindAsync(HttpContext context)