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

An exclusion like !2.0 as a part of a VersionRange. More...

Inheritance diagram for ZeroInstall.Model.VersionRangePartExclude:
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 version to be excluded.
 

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 exclusion 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.VersionRangePartExclude.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.VersionRangePartExclude.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: