public bool Equals(PackageId obj) { return (this.Id.Equals(obj.Id, StringComparison.OrdinalIgnoreCase) && this.VersionString.Equals(obj.VersionString, StringComparison.OrdinalIgnoreCase)); }
public AuditResult(PackageId packageId, Artifact artifact, Project project, IList<Vulnerability> vulnerabilities) : this(packageId) { this._artifact = artifact; this._project = project; this._vulnerabilities = vulnerabilities; }
private AuditResult(PackageId packageId) { if (packageId == null) { throw new ArgumentNullException("packageId"); } this._packageId = packageId; }
private bool AuditPackageInternal(IVsPackageMetadata package) { var packageId = new PackageId(package.Id, package.VersionString); WriteLine(Resources.AuditingPackage, packageId); return AuditPackagesInternal(new[] { packageId }); }