Class DotnetSolutionAddOptions
- Namespace
- Invex.Atom.Module.Dotnet.Cli
- Assembly
- Invex.Atom.Module.Dotnet.dll
public sealed record DotnetSolutionAddOptions
- Inheritance
-
objectDotnetSolutionAddOptions
Constructors
DotnetSolutionAddOptions()
public DotnetSolutionAddOptions()
Properties
InRoot
Place project in root of the solution, rather than creating a solution folder.
public bool? InRoot { get; init; }
Property Value
- bool?
IncludeReferences
Recursively add projects' ReferencedProjects to solution
public bool? IncludeReferences { get; init; }
Property Value
- bool?
SolutionFolder
The destination solution folder path to add the projects to.
public string? SolutionFolder { get; init; }
Property Value
- string
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.