Table of Contents

Class DotnetPackageUpdateOptions

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

Constructors

DotnetPackageUpdateOptions()

public DotnetPackageUpdateOptions()

Properties

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?

Project

Path to a project or solution file, or a directory.

public FileSystemInfo? Project { get; init; }

Property Value

FileSystemInfo

Verbosity

Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic].

public VerbosityOptions? Verbosity { get; init; }

Property Value

VerbosityOptions?

Vulnerable

Upgrade packages with known vulnerabilities.

public bool? Vulnerable { 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.