Class VersionRangePartExact
An exact version number like 2.0
as a part of a VersionRange.
Inheritance
VersionRangePartExact
Assembly: ZeroInstall.Model.dll
Syntax
public sealed class VersionRangePartExact : VersionRangePart
Constructors
VersionRangePartExact(ImplementationVersion)
Declaration
public VersionRangePartExact(ImplementationVersion version)
Parameters
Properties
Version
The exact version to match.
Declaration
public ImplementationVersion Version { 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