Table of Contents

Class DotnetReferenceAddOptions

Namespace
Invex.Atom.Module.Dotnet.Cli
Assembly
Invex.Atom.Module.Dotnet.dll
public sealed record DotnetReferenceAddOptions
Inheritance
object
DotnetReferenceAddOptions

Constructors

DotnetReferenceAddOptions()

public DotnetReferenceAddOptions()

Properties

Framework

Add the reference only when targeting a specific framework.

public string? Framework { get; init; }

Property Value

string

Interactive

Allows the command to stop and wait for user input or action (for example to complete authentication).

public bool? Interactive { get; init; }

Property Value

bool?

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.