2 instantiations of MessageBindable
Aspire.Dashboard (2)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (2)
107
public static readonly MessageBindable<TMessage> Empty = new
MessageBindable
<TMessage>();
125
return new
MessageBindable
<TMessage> { Message = message };
6 references to MessageBindable
Aspire.Dashboard (6)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (6)
43
group.MapPost("logs", static (
MessageBindable
<ExportLogsServiceRequest> request, OtlpLogsService service) =>
51
group.MapPost("traces", static (
MessageBindable
<ExportTraceServiceRequest> request, OtlpTraceService service) =>
59
group.MapPost("metrics", (
MessageBindable
<ExportMetricsServiceRequest> request, OtlpMetricsService service) =>
105
private sealed class MessageBindable<TMessage> : IBindableFromHttpContext<
MessageBindable
<TMessage>> where TMessage : IMessage<TMessage>, new()
107
public static readonly
MessageBindable
<TMessage> Empty = new MessageBindable<TMessage>();
111
public static async ValueTask<
MessageBindable
<TMessage>?> BindAsync(HttpContext context, ParameterInfo parameter)