Astyle.

BracketsLinux Property

Summary

true if brackets should be put on a new line and indented.
namespace foospace
{
    int Foo()
    {
        if (isBar) {
            bar();
            return 1;
        } else
            return 0;
    }
}
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Containing Type
Astyle

Syntax

[TaskAttribute("brackets-linux", Required = false)]
[BooleanValidator()]
public bool BracketsLinux { get; set; }

Attributes

Type Description
TaskAttribute
BooleanValidator

Value

Type Description
bool