Summary
Determines whether the given package is at no newer than version
version.
Syntax
[Function("is-max-version")]
public bool IsMaxVersion(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 maximum have. |
Return Value
Type |
Description |
bool |
true if the given package is at no newer than
version version; otherwise, false .
|