C# Класс McSherry.SemanticVersioning.Ranges.VersionRange

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SatisfiedBy ( ) : bool

Determines whether the current version range is satisfied by all specified SemanticVersion instances.

SatisfiedBy ( IEnumerable semvers ) : bool

Determines whether the current version range is satisfied by all specified SemanticVersion instances.

SatisfiedBy ( SemanticVersion semver ) : bool

Determines whether the current version range is satisfied by a specified SemanticVersion.

VersionRange ( string range ) : System

Creates a version range from a string representing the range.

Приватные методы

Метод Описание
VersionRange ( IEnumerable cmps ) : System

Creates a new VersionRange instance from a set of comparator sets.

_ctorPassthrough ( string range ) : IEnumerable>

Описание методов

SatisfiedBy() публичный Метод

Determines whether the current version range is satisfied by all specified SemanticVersion instances.

public SatisfiedBy ( ) : bool
Результат bool

SatisfiedBy() публичный Метод

Determines whether the current version range is satisfied by all specified SemanticVersion instances.

public SatisfiedBy ( IEnumerable semvers ) : bool
semvers IEnumerable /// The instances to check /// against the current version range. ///
Результат bool

SatisfiedBy() публичный Метод

Determines whether the current version range is satisfied by a specified SemanticVersion.

public SatisfiedBy ( SemanticVersion semver ) : bool
semver SemanticVersion /// The to check against the /// current version range. ///
Результат bool

VersionRange() публичный Метод

Creates a version range from a string representing the range.

/// Thrown when is null, empty, /// or contains only whitespace characters. /// /// Thrown when is invalid for any /// reason unrelated to an invalid semantic version string. /// /// Thrown when contains an invalid /// semantic version string. ///
public VersionRange ( string range ) : System
range string /// The version range string from which to create an instance. ///
Результат System