AssemblyAttribute.

AsIs Property

Summary

If true then the value of the attribute will be set as is, without actually looking for a matching constructor or named properties. The default is false.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Types
Containing Type
AssemblyAttribute

Syntax

[TaskAttribute("asis")]
[BooleanValidator()]
public bool AsIs { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool true if the value of the attribute should be set as is; otherwise, false.