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
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
Format
The output format used when listing sources.
public string? Format { get; init; }Property Value
Name
The package source name.
public string? Name { get; init; }Property Value
Operation
The operation performed by the command.
public NuGetSourceOperation? Operation { get; init; }Property Value
Password
The redacted password stored for source authentication.
public Secret? Password { get; init; }Property Value
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
StorePasswordInClearText
Stores the source password without encryption.
public bool StorePasswordInClearText { get; init; }Property Value
UserName
The user name stored for source authentication.
public string? UserName { get; init; }Property Value
ValidAuthenticationTypes
Authentication schemes allowed for the source.
public IReadOnlyList<NuGetAuthenticationType> ValidAuthenticationTypes { get; init; }