Astyle.

IndentSwitch Property

Summary

true if switch statements should be indented.
        The default:

        switch (foo)
        {
        case 1:
            a += 2;
            break;

        default:
            a += 2;
            break;
        }

        becomes:

        switch (foo)
        {
            case 1:
                a += 2;
                break;

            default:
                a += 2;
                break;
        }
Assembly
NAnt.Contrib.dll
Namespace
NAnt.Contrib.Tasks
Containing Type
Astyle

Syntax

[TaskAttribute("indent-switches", Required = false)]
[BooleanValidator()]
public bool IndentSwitch { get; set; }

Attributes

Type Description
TaskAttribute
BooleanValidator

Value

Type Description
bool