9 instantiations of DiscoveryRequestPayload
Microsoft.TestPlatform.CommunicationUtilities (1)
_generated\32\TestPlatformJsonContext.DiscoveryRequestPayload.g.cs (1)
31ObjectCreator = () => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload(),
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (2)
VsTestConsoleRequestSender.cs (2)
952new DiscoveryRequestPayload() 1044new DiscoveryRequestPayload()
vstest.console (3)
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
181new DiscoveryRequestPayload { Sources = _commandLineOptions.Sources, RunSettings = runSettings },
Processors\ListTestsArgumentProcessor.cs (1)
186new DiscoveryRequestPayload() { Sources = _commandLineOptions.Sources, RunSettings = runSettings },
Processors\RunSpecificTestsArgumentProcessor.cs (1)
223new DiscoveryRequestPayload() { Sources = sources, RunSettings = _effectiveRunSettings }, _discoveryEventsRegistrar, Constants.DefaultProtocolConfig);
vstest.console.arm64 (3)
src\vstest\src\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
181new DiscoveryRequestPayload { Sources = _commandLineOptions.Sources, RunSettings = runSettings },
src\vstest\src\vstest.console\Processors\ListTestsArgumentProcessor.cs (1)
186new DiscoveryRequestPayload() { Sources = _commandLineOptions.Sources, RunSettings = runSettings },
src\vstest\src\vstest.console\Processors\RunSpecificTestsArgumentProcessor.cs (1)
223new DiscoveryRequestPayload() { Sources = sources, RunSettings = _effectiveRunSettings }, _discoveryEventsRegistrar, Constants.DefaultProtocolConfig);
39 references to DiscoveryRequestPayload
Microsoft.TestPlatform.CommunicationUtilities (33)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
150if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload))
_generated\32\TestPlatformJsonContext.DiscoveryRequestPayload.g.cs (31)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload>? _DiscoveryRequestPayload; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload> DiscoveryRequestPayload 22get => _DiscoveryRequestPayload ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload> Create_DiscoveryRequestPayload(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload).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.ObjectModel.Client.DiscoveryRequestPayload>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload), 60Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).Sources, 61Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).Sources = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload).GetProperty("Sources", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IEnumerable<string>), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload), 80Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).RunSettings, 81Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).RunSettings = value!, 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload).GetProperty("RunSettings", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload), 100Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).TestPlatformOptions, 101Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).TestPlatformOptions = value!, 108AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload).GetProperty("TestPlatformOptions", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestPlatformOptions), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload), 120Getter = static obj => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).TestSessionInfo, 121Setter = static (obj, value) => ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)obj).TestSessionInfo = value!, 128AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload).GetProperty("TestSessionInfo", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestSessionInfo), global::System.Array.Empty<global::System.Type>(), null), 138private void DiscoveryRequestPayloadSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload? value) 149IEnumerableStringSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)value).Sources); 150writer.WriteString(PropName_RunSettings, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)value).RunSettings); 152TestPlatformOptionsSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)value).TestPlatformOptions); 154TestSessionInfoSerializeHandler(writer, ((global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.DiscoveryRequestPayload)value).TestSessionInfo);
TestPlatformJsonContext.cs (1)
65[JsonSerializable(typeof(DiscoveryRequestPayload))]
Microsoft.VisualStudio.TestPlatform.Client (4)
DesignMode\DesignModeClient.cs (3)
208var discoveryPayload = _dataSerializer.DeserializePayload<DiscoveryRequestPayload>(message); 517private void StartDiscovery(DiscoveryRequestPayload? discoveryRequestPayload, ITestRequestManager testRequestManager)
RequestHelper\ITestRequestManager.cs (1)
43DiscoveryRequestPayload discoveryPayload,
vstest.console (1)
TestPlatformHelpers\TestRequestManager.cs (1)
169DiscoveryRequestPayload discoveryPayload,
vstest.console.arm64 (1)
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (1)
169DiscoveryRequestPayload discoveryPayload,