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