2 instantiations of BeforeTestRunStartResult
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\3\TestPlatformJsonContext.BeforeTestRunStartResult.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
((global::System.Collections.Generic.IDictionary<string, string>)args[0], (int)args[1]),
DataCollectionRequestHandler.cs (1)
370
new
BeforeTestRunStartResult
(envVariables, testCaseEventsPort),
27 references to BeforeTestRunStartResult
Microsoft.TestPlatform.CommunicationUtilities (25)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
34
if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
))
_generated\3\TestPlatformJsonContext.BeforeTestRunStartResult.g.cs (19)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
>? _BeforeTestRunStartResult;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
> BeforeTestRunStartResult
22
get => _BeforeTestRunStartResult ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
> Create_BeforeTestRunStartResult(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Collections.Generic.IDictionary<string, string>), typeof(int)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
),
60
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
)obj).EnvironmentVariables,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
),
81
Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
)obj).DataCollectionEventsPort,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
).GetProperty("DataCollectionEventsPort", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null),
99
private void BeforeTestRunStartResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
? value)
110
IDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
)value).EnvironmentVariables);
111
writer.WriteNumber(PropName_DataCollectionEventsPort, ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.
BeforeTestRunStartResult
)value).DataCollectionEventsPort);
DataCollectionRequestSender.cs (3)
106
public
BeforeTestRunStartResult
? SendBeforeTestRunStartAndGetResult(string? settingsXml, IEnumerable<string> sources, bool isTelemetryOptedIn, ITestMessageEventHandler? runEventsHandler)
109
BeforeTestRunStartResult
? result = null;
151
result = _dataSerializer.DeserializePayload<
BeforeTestRunStartResult
>(message);
Interfaces\IDataCollectionRequestSender.cs (1)
61
BeforeTestRunStartResult
? SendBeforeTestRunStartAndGetResult(string? settingXml, IEnumerable<string> sources, bool isTelemetryOptedIn, ITestMessageEventHandler? runEventsHandler);
TestPlatformJsonContext.cs (1)
80
[JsonSerializable(typeof(
BeforeTestRunStartResult
))]
Microsoft.TestPlatform.CrossPlatEngine (1)
DataCollection\ProxyDataCollectionManager.cs (1)
198
var
result = _dataCollectionRequestSender.SendBeforeTestRunStartAndGetResult(SettingsXml, Sources, _requestData.IsTelemetryOptedIn, runEventsHandler);
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\BeforeTestRunStartResult.cs (1)
16
/// Initializes a new instance of the <see cref="
BeforeTestRunStartResult
"/> class.