NuGetPackageValidationResult Class
Represents the result of a NuGet package validation operation.
public sealed class NuGetPackageValidationResultConstructors
| Name | Description |
|---|---|
| NuGetPackageValidationResult(IReadOnlyCollection<NuGetPackageValidationError>) | Initializes a new instance of the NuGetPackageValidationResult class. |
NuGetPackageValidationResult(IReadOnlyCollection<NuGetPackageValidationError>)
NuGetPackageValidationResult.csInitializes a new instance of the NuGetPackageValidationResult class.
public NuGetPackageValidationResult(IReadOnlyCollection<NuGetPackageValidationError> errors)Parameters
errorsIReadOnlyCollection<NuGetPackageValidationError>- The collection of validation errors found during the validation process.
Properties
| Name | Description |
|---|---|
| Errors | Gets the collection of validation errors found during the validation process. |
| IsValid | Gets a value indicating whether the package passed all validation rules without any errors. |
Gets the collection of validation errors found during the validation process.
public IReadOnlyCollection<NuGetPackageValidationError> Errors { get; }