Summary
Determines whether the given package is exactly version
version.
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.
|