Summary
true if block statements should be indented.
The default:
if (isFoo)
{
bar();
}
else
anotherBar();
becomes:
if (isFoo)
{
bar();
}
else
anotherBar();
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks - Containing Type
- Astyle
Syntax
[TaskAttribute("indent-blocks", Required = false)]
[BooleanValidator()]
public bool IndentBlock { get; set; }
Attributes
| Type | Description |
|---|---|
| TaskAttribute | |
| BooleanValidator |
Value
| Type | Description |
|---|---|
| bool |
