Class VersionRangePartRange
Inheritance
VersionRangePartRange
Assembly: ZeroInstall.Model.dll
Syntax
public sealed class VersionRangePartRange : VersionRangePart
Constructors
VersionRangePartRange(ImplementationVersion, ImplementationVersion)
Creates a new version range.
Declaration
public VersionRangePartRange(ImplementationVersion lowerInclusive, ImplementationVersion upperExclusive)
Parameters
Properties
LowerInclusive
The lower inclusive bound. May be null
.
Declaration
public ImplementationVersion LowerInclusive { get; }
Property Value
UpperExclusive
The upper exclusive bound. May be null
.
Declaration
public ImplementationVersion UpperExclusive { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Intersect(VersionRange)
Intersects a set of version ranges with this individual range and returns the surviving parts.
Declaration
public override IEnumerable<VersionRangePart> Intersect(VersionRange versions)
Parameters
Returns
Overrides
Match(ImplementationVersion)
Determines whether a specific version lies within this range.
Declaration
public override bool Match(ImplementationVersion version)
Parameters
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns