VulnerabilityPackageVersionRange Class

Represents one or more ranges of versions of a package.

Inheritance Hierarchy

Syntax

public sealed class VulnerabilityPackageVersionRange : System.ValueType

Constructors

Name Description
VulnerabilityPackageVersionRange(string version)

Initializes a new instance of the VulnerabilityPackageVersionRange struct.

Methods

Name Description
IsMatch<TVersion>(TVersion version, System.Func<string, TVersion> parseVersion)
Maximum(string version, bool exclusive)
Minimum(string version, bool exclusive)
Multiple(VulnerabilityPackageVersionRange[] ranges)
Parse(string s)
Range(string minVersion, bool minExclusive, string maxVersion, bool maxExclusive)
Single(string version)
ToString

Returns a string representation of the VulnerabilityPackageVersionRange struct.

Fields

Name Description
Any

The vulnerability may apply to any version or the version is not known.