Summary
true if the line after a bracket (i.e. an else
statement after the closing if) should be placed on the next line.
if (isFoo){
bar();
}else {
anotherBar();
}
becomes:
if (isFoo) {
bar();
}
else {
anotherBar();
}
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks - Containing Type
- Astyle
Syntax
[TaskAttribute("break-closing", Required = false)]
[BooleanValidator()]
public bool BreakClosing { get; set; }
Attributes
| Type | Description |
|---|---|
| TaskAttribute | |
| BooleanValidator |
Value
| Type | Description |
|---|---|
| bool |
