PkgConfigFunctions.

IsExactVersion(string, string) Method

Summary

Determines whether the given package is exactly version version.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
PkgConfigFunctions

Syntax

[Function("is-exact-version")]
public bool IsExactVersion(string package, string version)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
package string The package to check.
version string The version the package should have.

Return Value

Type Description
bool true if the given package is exactly version version; otherwise, false.