Astyle.

NoBreakComplex Property

Summary

true to keep complex statements on the same line.
    if (isFoo)
    {  
        isFoo = false; cout << isFoo << endl;
    }

    remains as is.

    if (isFoo) DoBar();

    remains as is.
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Containing Type
Astyle

Syntax

[TaskAttribute("nobreak-complex", Required = false)]
[BooleanValidator()]
public bool NoBreakComplex { get; set; }

Attributes

Type Description
TaskAttribute
BooleanValidator

Value

Type Description
bool