PropertyFunctions.

IsDynamic(string) Method

Summary

Checks whether the specified property is a dynamic property.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
PropertyFunctions

Syntax

[Function("is-dynamic")]
public bool IsDynamic(string name)

Examples

Check whether the "debug" property is a dynamic property.

property::is-dynamic('debug')

Attributes

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

Parameters

Name Type Description
name string The property to test.

Return Value

Type Description
bool true if the specified property is a dynamic property; otherwise, false.