NAnt SDK Documentation - v0.92 |
|
PkgConfigFunctions.IsBetweenVersion Method
Determines whether the given package is between two versions.
[Visual Basic]
<Function(Name:="is-between-version")>
Public Function IsBetweenVersion( _
ByVal
package As
String, _
ByVal
minVersion As
String, _
ByVal
maxVersion As
String _
) As
Boolean
[C#]
[Function(Name="is-between-version")]
public
bool IsBetweenVersion(
string package,
string minVersion,
string maxVersion);
Parameters
-
package
- The package to check.
-
minVersion
- The version the package should at least have.
-
maxVersion
- The version the package should maximum have.
Return Value
true if the given package is between minVersion and maxVersion; otherwise, false.
Exceptions
Exception Type |
Condition |
Win32Exception
|
pkg-config could not be started. |
See Also
PkgConfigFunctions Class | NAnt.Core.Functions Namespace