Summary
true
to put the if component of an else if on a
new line.
if (isFoo) {
bar();
} else if (isBar()){
anotherBar();
}
becomes:
if (isFoo) {
bar();
} else
if (isBar()){
anotherBar();
}
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks - Containing Type
- Astyle
Syntax
[TaskAttribute("break-elseif", Required = false)]
[BooleanValidator()]
public bool BreakElseif { get; set; }
Attributes
Type | Description |
---|---|
TaskAttribute | |
BooleanValidator |
Value
Type | Description |
---|---|
bool |