1 instantiation of CommandLineOptionMessage
dotnet (1)
Commands\Test\MTP\IPC\Serializers\CommandLineOptionMessagesSerializer.cs (1)
117
commandLineOptionMessages.Add(new
CommandLineOptionMessage
(name, description, isHidden, isBuiltIn));
18 references to CommandLineOptionMessage
dotnet (18)
Commands\Test\MTP\IPC\Models\CommandLineOptionMessages.cs (1)
8
internal sealed record CommandLineOptionMessages(string? ModulePath,
CommandLineOptionMessage
[]? CommandLineOptionMessageList) : IRequest;
Commands\Test\MTP\IPC\Serializers\CommandLineOptionMessagesSerializer.cs (6)
47
List<
CommandLineOptionMessage
>? commandLineOptionMessages = null;
76
private static List<
CommandLineOptionMessage
> ReadCommandLineOptionMessagesPayload(Stream stream)
78
List<
CommandLineOptionMessage
> commandLineOptionMessages = [];
135
private static void WriteCommandLineOptionMessagesPayload(Stream stream,
CommandLineOptionMessage
[]? commandLineOptionMessageList)
150
foreach (
CommandLineOptionMessage
commandLineOptionMessage in commandLineOptionMessageList)
169
private static ushort GetFieldCount(
CommandLineOptionMessage
commandLineOptionMessage) =>
Commands\Test\MTP\MicrosoftTestingPlatformTestCommand.Help.cs (7)
13
private readonly ConcurrentDictionary<string,
CommandLineOptionMessage
> _commandLineOptionNameToModuleNames = [];
99
foreach (
CommandLineOptionMessage
commandLineOption in commandLineOptionMessages.CommandLineOptionMessageList!)
127
private (List<
CommandLineOptionMessage
> BuiltInOptions, List<
CommandLineOptionMessage
> NonBuiltInOptions) GetAllOptions(IList<Option> commandOptions)
129
List<
CommandLineOptionMessage
> builtInOptions = [];
130
List<
CommandLineOptionMessage
> nonBuiltInOptions = [];
135
foreach (KeyValuePair<string,
CommandLineOptionMessage
> option in _commandLineOptionNameToModuleNames)
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (4)
1002
IEnumerable<
CommandLineOptionMessage
> builtInOptions,
1003
IEnumerable<
CommandLineOptionMessage
> nonBuiltInOptions,
1025
private void WriteOtherOptionsSection(HelpContext context, string title, IEnumerable<
CommandLineOptionMessage
> options)
1029
foreach (
var
option in options)