CodeWriter.InBrace method

namespace: Serenity.Reflection   assemblySerenity.Net.Core

Adds a brace, increases indent, runs the inside block, decreases indent back, closes the brace.

public void InBrace(Action insideBlock, bool endLine = true)
parameter description
insideBlock The inside block.
endLine If should end the line

See Also