1 instantiation of TelemetryEvent
Microsoft.TestPlatform.CommunicationUtilities (1)
_generated\56\TestPlatformJsonContext.TelemetryEvent.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent((string)args[0], (global::System.Collections.Generic.IDictionary<string, object>)args[1]),
49 references to TelemetryEvent
Microsoft.TestPlatform.CommunicationUtilities (44)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (2)
78if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>)) 246if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent))
_generated\14\TestPlatformJsonContext.PayloadedMessageTelemetryEvent.g.cs (20)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>>? _PayloadedMessageTelemetryEvent; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>> PayloadedMessageTelemetryEvent 22get => _PayloadedMessageTelemetryEvent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>> Create_PayloadedMessageTelemetryEvent(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>> 31ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>(), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>>(options, objectInfo); 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent> 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>)obj).Payload, 61Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>)obj).Payload = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>).GetProperty("Payload", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>(options, info0); 78private void PayloadedMessageTelemetryEventSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>? value) 89TelemetryEventSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.JsonDataSerializer.PayloadedMessage<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>)value).Payload);
_generated\56\TestPlatformJsonContext.TelemetryEvent.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>? _TelemetryEvent; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent> TelemetryEvent 22get => _TelemetryEvent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent> Create_TelemetryEvent(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::System.Collections.Generic.IDictionary<string, object>)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent)obj).Name, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent), 81Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent)obj).Properties, 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 100private void TelemetryEventSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent? value) 110writer.WriteString(PropName_Name, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent)value).Name); 112global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent)value).Properties, IDictionaryStringObject);
TelemetryReporter.cs (1)
24public void Report(TelemetryEvent telemetryEvent)
TestPlatformJsonContext.cs (2)
74[JsonSerializable(typeof(TelemetryEvent))] 125[JsonSerializable(typeof(JsonDataSerializer.PayloadedMessage<TelemetryEvent>))]
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (3)
NoOpTelemetryEventsHandler.cs (1)
11public void HandleTelemetryEvent(TelemetryEvent telemetryEvent)
VsTestConsoleRequestSender.cs (2)
1531TelemetryEvent? telemetryEvent = _dataSerializer.DeserializePayload<TelemetryEvent>(message);
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
Client\Interfaces\ITelemetryEventsHandler.cs (1)
8void HandleTelemetryEvent(TelemetryEvent telemetryEvent);
ITelemetryReporter.cs (1)
14void Report(TelemetryEvent telemetryEvent);