Class DotnetWorkloadSearchVersionOptions
- Namespace
- Invex.Atom.Module.Dotnet.Cli
- Assembly
- Invex.Atom.Module.Dotnet.dll
public sealed record DotnetWorkloadSearchVersionOptions
- Inheritance
-
objectDotnetWorkloadSearchVersionOptions
Constructors
DotnetWorkloadSearchVersionOptions()
public DotnetWorkloadSearchVersionOptions()
Properties
Format
Changes the format of outputted workload versions. Can take 'json' or 'list'
public string? Format { get; init; }
Property Value
- string
IncludePreviews
public bool? IncludePreviews { get; init; }
Property Value
- bool?
Take
public int? Take { get; init; }
Property Value
- int?
Methods
ToArguments()
Converts these options to individual command-line arguments, in schema order.
public IReadOnlyList<string> ToArguments()
Returns
- IReadOnlyList<string>
The arguments. Each option name and each value is a separate element, so values need no quoting.