3 instantiations of MessageData
Microsoft.DotNet.Cli.Telemetry (3)
_generated\3\TelemetryJsonContext.MessageData.g.cs (1)
31ObjectCreator = () => new global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData(),
Implementation\AzureMonitorLogSerializer.cs (1)
156BaseData = new MessageData
Implementation\AzureMonitorTelemetrySerializer.cs (1)
154BaseData = new MessageData
105 references to MessageData
Microsoft.DotNet.Cli.Telemetry (105)
_generated\11\TelemetryJsonContext.MessageEnvelope.g.cs (40)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>? _MessageEnvelope; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> MessageEnvelope 22get => _MessageEnvelope ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> Create_MessageEnvelope(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> 31ObjectCreator = () => new global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>(), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Name, 61Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Name = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 80DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 82Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Time, 83Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Time = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("Time", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 102DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 104Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).InstrumentationKey, 105Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).InstrumentationKey = value!, 112AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("InstrumentationKey", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 124DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 126Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Tags, 127Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Tags = value!, 134AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("Tags", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 141var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> 146DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 148Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Data, 149Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).Data = value!, 156AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("Data", InstanceMemberBindingFlags, null, typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), global::System.Array.Empty<global::System.Type>(), null), 159properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>(options, info4); 168private void MessageEnvelopeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>? value) 178writer.WriteString(PropName_name, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).Name); 179writer.WriteString(PropName_time, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).Time); 180writer.WriteString(PropName_iKey, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).InstrumentationKey); 182DictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).Tags); 184TelemetryDataMessageDataSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).Data);
_generated\22\TelemetryJsonContext.GetJsonTypeInfo.g.cs (3)
34if (type == typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)) 50if (type == typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)) 66if (type == typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryEnvelope<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>))
_generated\3\TelemetryJsonContext.MessageData.g.cs (31)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>? _MessageData; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData> MessageData 22get => _MessageData ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData> Create_MessageData(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).Message, 61Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).Message = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData).GetProperty("Message", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData), 80Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).SeverityLevel, 81Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).SeverityLevel = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData).GetProperty("SeverityLevel", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData), 100Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).Properties, 101Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).Properties = value!, 108AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData), 120Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).Ver, 121Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)obj).Ver = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData).GetProperty("Ver", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 138private void MessageDataSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData? value) 148writer.WriteString(PropName_message, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)value).Message); 149string __value_SeverityLevel = ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)value).SeverityLevel; 154global::System.Collections.Generic.Dictionary<string, string> __value_Properties = ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)value).Properties; 160writer.WriteNumber(PropName_ver, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData)value).Ver);
_generated\7\TelemetryJsonContext.TelemetryDataMessageData.g.cs (25)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>? _TelemetryDataMessageData; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> TelemetryDataMessageData 22get => _TelemetryDataMessageData ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> Create_TelemetryDataMessageData(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>> 31ObjectCreator = () => new global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>(), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 60Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).BaseType, 61Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).BaseType = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("BaseType", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 75var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData> 80DeclaringType = typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>), 82Getter = static obj => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).BaseData, 83Setter = static (obj, value) => ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)obj).BaseData = value!, 90AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>).GetProperty("BaseData", InstanceMemberBindingFlags, null, typeof(global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData), global::System.Array.Empty<global::System.Type>(), null), 93properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>(options, info1); 100private void TelemetryDataMessageDataSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>? value) 110writer.WriteString(PropName_baseType, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).BaseType); 112MessageDataSerializeHandler(writer, ((global::Microsoft.DotNet.Cli.Telemetry.Implementation.TelemetryData<global::Microsoft.DotNet.Cli.Telemetry.Implementation.MessageData>)value).BaseData);
Implementation\AzureMonitorLogSerializer.cs (2)
147var envelope = new TelemetryEnvelope<MessageData> 153Data = new TelemetryData<MessageData>
Implementation\AzureMonitorTelemetrySerializer.cs (2)
145var envelope = new TelemetryEnvelope<MessageData> 151Data = new TelemetryData<MessageData>
Implementation\BreezeEnvelope.cs (2)
148/// Application Insights custom properties. Unlike <see cref="MessageData"/>, the Azure Monitor 209[JsonSerializable(typeof(TelemetryEnvelope<MessageData>), TypeInfoPropertyName = "MessageEnvelope")]