Zero Install .NET API 2.20.0
ZeroInstall.Model.VersionRangePartExact Class Reference

An exact version number like 2.0 as a part of a VersionRange. More...

Inheritance diagram for ZeroInstall.Model.VersionRangePartExact:
ZeroInstall.Model.VersionRangePart

Public Member Functions

override IEnumerable< VersionRangePartIntersect (VersionRange versions)
 Intersects a set of version ranges with this individual range and returns the surviving parts. More...
 
override bool Match (ImplementationVersion version)
 Determines whether a specific version lies within this range. More...
 
override string ToString ()
 
override bool Equals (object? obj)
 
override int GetHashCode ()
 

Properties

ImplementationVersion Version [get]
 The exact version to match.
 

Additional Inherited Members

- Static Public Member Functions inherited from ZeroInstall.Model.VersionRangePart
static VersionRangePart FromString (string value)
 Parses a string into a VersionRange part. More...
 

Detailed Description

An exact version number like 2.0 as a part of a VersionRange.

This class is immutable and thread-safe.

Member Function Documentation

◆ Intersect()

override IEnumerable< VersionRangePart > ZeroInstall.Model.VersionRangePartExact.Intersect ( VersionRange  versions)
inlinevirtual

Intersects a set of version ranges with this individual range and returns the surviving parts.

Implements ZeroInstall.Model.VersionRangePart.

◆ Match()

override bool ZeroInstall.Model.VersionRangePartExact.Match ( ImplementationVersion  version)
virtual

Determines whether a specific version lies within this range.

Implements ZeroInstall.Model.VersionRangePart.


The documentation for this class was generated from the following file: