Méthode | Description | |
---|---|---|
IsSatisfied ( System.Version version ) : bool |
Determine whether the given version satisfies this range.
|
|
IsSatisfied ( string versionString, bool loose = false ) : bool |
Determine whether the given version satisfies this range. With an invalid version this method returns false.
|
|
IsSatisfied ( string rangeSpec, string versionString, bool loose = false ) : bool |
Determine whether the given version satisfies a given range. With an invalid version this method returns false.
|
|
MaxSatisfying ( IEnumerable |
Return the maximum version that satisfies this range.
|
|
MaxSatisfying ( IEnumerable |
Return the maximum version that satisfies this range.
|
|
MaxSatisfying ( string rangeSpec, IEnumerable |
Return the maximum version that satisfies a given range.
|
|
Range ( string rangeSpec, bool loose = false ) : System |
Construct a new range from a range specification.
|
|
Satisfying ( IEnumerable |
Return the set of versions that satisfy this range.
|
|
Satisfying ( IEnumerable |
Return the set of version strings that satisfy this range. Invalid version specifications are skipped.
|
|
Satisfying ( string rangeSpec, IEnumerable |
Return the set of version strings that satisfy a given range. Invalid version specifications are skipped.
|
Méthode | Description | |
---|---|---|
ValidVersions ( IEnumerable |
public IsSatisfied ( System.Version version ) : bool | ||
version | System.Version | The version to check. |
Résultat | bool |
public IsSatisfied ( string versionString, bool loose = false ) : bool | ||
versionString | string | The version to check. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | bool |
public static IsSatisfied ( string rangeSpec, string versionString, bool loose = false ) : bool | ||
rangeSpec | string | The range specification. |
versionString | string | The version to check. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | bool |
public MaxSatisfying ( IEnumerable |
||
versions | IEnumerable |
The versions to select from. |
Résultat | System.Version |
public MaxSatisfying ( IEnumerable |
||
versionStrings | IEnumerable |
The version strings to select from. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | string |
public static MaxSatisfying ( string rangeSpec, IEnumerable |
||
rangeSpec | string | The range specification. |
versionStrings | IEnumerable |
The version strings to select from. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | string |
public Range ( string rangeSpec, bool loose = false ) : System | ||
rangeSpec | string | The range specification string. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | System |
public Satisfying ( IEnumerable |
||
versions | IEnumerable |
The versions to check. |
Résultat | IEnumerable |
public Satisfying ( IEnumerable |
||
versions | IEnumerable |
The version strings to check. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | IEnumerable |
public static Satisfying ( string rangeSpec, IEnumerable |
||
rangeSpec | string | The range specification. |
versions | IEnumerable |
The version strings to check. |
loose | bool | When true, be more forgiving of some invalid version specifications. |
Résultat | IEnumerable |