2 instantiations of OtlpExportLogsServiceResponseJson
Aspire.Dashboard (2)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
910
var json = new
OtlpExportLogsServiceResponseJson
();
OtlpJsonSerializerContext.OtlpExportLogsServiceResponseJson.g.cs (1)
31
ObjectCreator = () => new global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
(),
23 references to OtlpExportLogsServiceResponseJson
Aspire.Dashboard (21)
Otlp\Http\OtlpJsonConverters.cs (1)
43
var
json = OtlpProtobufToJsonConverter.ToJson((ExportLogsServiceResponse)message);
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
908
public static
OtlpExportLogsServiceResponseJson
ToJson(ExportLogsServiceResponse response)
910
var
json = new OtlpExportLogsServiceResponseJson();
Otlp\Model\Serialization\OtlpJsonSerializerContext.cs (1)
39
[JsonSerializable(typeof(
OtlpExportLogsServiceResponseJson
))]
OtlpJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
94
if (type == typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
))
OtlpJsonSerializerContext.OtlpExportLogsServiceResponseJson.g.cs (16)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
>? _OtlpExportLogsServiceResponseJson;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
> OtlpExportLogsServiceResponseJson
22
get => _OtlpExportLogsServiceResponseJson ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
>)Options.GetTypeInfo(typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
> Create_OtlpExportLogsServiceResponseJson(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
>(options, objectInfo);
56
DeclaringType = typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
),
58
Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
)obj).PartialSuccess,
59
Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
)obj).PartialSuccess = value!,
66
AttributeProviderFactory = static () => typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
).GetProperty("PartialSuccess", InstanceMemberBindingFlags, null, typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpExportLogsPartialSuccessJson), global::System.Array.Empty<global::System.Type>(), null),
76
private void OtlpExportLogsServiceResponseJsonSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
? value)
86
global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpExportLogsPartialSuccessJson __value_PartialSuccess = ((global::Aspire.Dashboard.Otlp.Model.Serialization.
OtlpExportLogsServiceResponseJson
)value).PartialSuccess;
Aspire.Dashboard.Tests (2)
Integration\OtlpHttpJsonTests.cs (2)
485
var
response = System.Text.Json.JsonSerializer.Deserialize(responseBody, OtlpJsonSerializerContext.Default.OtlpExportLogsServiceResponseJson);
562
var
response = System.Text.Json.JsonSerializer.Deserialize(responseBody, OtlpJsonSerializerContext.Default.OtlpExportLogsServiceResponseJson);