NamespaceImport.

Namespace Property

Summary

The name of the namespace to import.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
NamespaceImport

Syntax

[TaskAttribute("namespace", Required = false)]
[StringValidator(AllowEmpty = false)]
public string Namespace { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string The name of the namespace to import.