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