2 instantiations of BeforeTestRunStartResult
Microsoft.TestPlatform.CommunicationUtilities (2)
_generated\3\TestPlatformJsonContext.BeforeTestRunStartResult.g.cs (1)
32ObjectWithParameterizedConstructorCreator = 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)
370new BeforeTestRunStartResult(envVariables, testCaseEventsPort),
27 references to BeforeTestRunStartResult
Microsoft.TestPlatform.CommunicationUtilities (25)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
34if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult))
_generated\3\TestPlatformJsonContext.BeforeTestRunStartResult.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult>? _BeforeTestRunStartResult; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult> BeforeTestRunStartResult 22get => _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)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult> Create_BeforeTestRunStartResult(global::System.Text.Json.JsonSerializerOptions options) 27if (!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)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult> 35ConstructorAttributeProviderFactory = 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), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult)obj).EnvironmentVariables, 68AttributeProviderFactory = 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), 79DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult), 81Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult)obj).DataCollectionEventsPort, 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult).GetProperty("DataCollectionEventsPort", InstanceMemberBindingFlags, null, typeof(int), global::System.Array.Empty<global::System.Type>(), null), 99private void BeforeTestRunStartResultSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult? value) 110IDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult)value).EnvironmentVariables); 111writer.WriteNumber(PropName_DataCollectionEventsPort, ((global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult)value).DataCollectionEventsPort);
DataCollectionRequestSender.cs (3)
106public BeforeTestRunStartResult? SendBeforeTestRunStartAndGetResult(string? settingsXml, IEnumerable<string> sources, bool isTelemetryOptedIn, ITestMessageEventHandler? runEventsHandler) 109BeforeTestRunStartResult? result = null; 151result = _dataSerializer.DeserializePayload<BeforeTestRunStartResult>(message);
Interfaces\IDataCollectionRequestSender.cs (1)
61BeforeTestRunStartResult? 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)
198var 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.