Table of Contents

Class NuGetSources

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Manages configured NuGet package sources.

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

Inheritance

Implements

Properties

AllowInsecureConnections

Allows unencrypted HTTP package sources.

public bool AllowInsecureConnections { get; init; }

Property Value

bool

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

Format

The output format used when listing sources.

public string? Format { get; init; }

Property Value

string?

Name

The package source name.

public string? Name { get; init; }

Property Value

string?

Operation

The operation performed by the command.

public NuGetSourceOperation? Operation { get; init; }

Property Value

NuGetSourceOperation?

Password

The redacted password stored for source authentication.

public Secret? Password { get; init; }

Property Value

Secret?

ProtocolVersion

The NuGet server protocol version used by the source.

public int? ProtocolVersion { get; init; }

Property Value

int?

Source

The package source name, path, or URL.

public string? Source { get; init; }

Property Value

string?

StorePasswordInClearText

Stores the source password without encryption.

public bool StorePasswordInClearText { get; init; }

Property Value

bool

UserName

The user name stored for source authentication.

public string? UserName { get; init; }

Property Value

string?

ValidAuthenticationTypes

Authentication schemes allowed for the source.

public IReadOnlyList<NuGetAuthenticationType> ValidAuthenticationTypes { get; init; }

Property Value

IReadOnlyList<NuGetAuthenticationType>