Summary
true
if bracket 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-brackets", Required = false)]
[BooleanValidator()]
public bool IndentBracket { get; set; }
Attributes
Type | Description |
---|---|
TaskAttribute | |
BooleanValidator |
Value
Type | Description |
---|---|
bool |