Table of Contents

Class NuGetConfig

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Sets NuGet configuration values or reads one as a path.

public sealed record NuGetConfig : NuGetConfiguredCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetConfiguredCommand>, IEquatable<NuGetConfig>

Inheritance

Implements

Properties

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

PathSettingName

The configuration key whose value is returned as an absolute path.

public string? PathSettingName { get; init; }

Property Value

string?

Settings

Configuration assignments. A null value removes the setting.

public IReadOnlyDictionary<string, string?> Settings { get; init; }

Property Value

IReadOnlyDictionary<string, string?>