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