NuGetPackageValidationOptions Class
Provides configuration options for NuGet package validation.
public sealed class NuGetPackageValidationOptionsConstructors
| Name | Description |
|---|---|
| NuGetPackageValidationOptions() |
NuGetPackageValidationOptions()
NuGetPackageValidationOptions.cspublic NuGetPackageValidationOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| ConfigureRequest | Gets or sets an optional action to configure HTTP requests made during validation, such as adding authentication headers. |
| Default | Gets the default validation options with all standard validation rules. |
| ExcludedRuleIds | Gets the collection of error codes to exclude from validation. Errors with these codes will not be reported. |
| Rules | Gets the collection of validation rules to apply to the package. |
| SymbolServers | Gets the list of symbol server URLs to check for availability of PDB files. |
ConfigureRequest
NuGetPackageValidationOptions.csGets or sets an optional action to configure HTTP requests made during validation, such as adding authentication headers.
public Action<HttpRequestMessage>? ConfigureRequest { get; set; }Property value
Gets the default validation options with all standard validation rules.
public static NuGetPackageValidationOptions Default { get; }Property value
ExcludedRuleIds
NuGetPackageValidationOptions.csGets the collection of error codes to exclude from validation. Errors with these codes will not be reported.
public ICollection<int> ExcludedRuleIds { get; }Property value
Gets the collection of validation rules to apply to the package.
public ICollection<NuGetPackageValidationRule> Rules { get; }Property value
SymbolServers
NuGetPackageValidationOptions.csGets the list of symbol server URLs to check for availability of PDB files.