private CodeWriterScope ScopeRaw(string start = "{", string end = "}", bool newLine = true) { LineRaw(start); CodeWriterScope codeWriterScope = new CodeWriterScope(this, end, newLine); _scopes.Push(codeWriterScope); return(codeWriterScope); }
public CodeWriterScope Scope(FormattableString line, string start = "{", string end = "}", bool newLine = true) { CodeWriterScope codeWriterScope = new CodeWriterScope(this, end, newLine); _scopes.Push(codeWriterScope); Line(line); LineRaw(start); return(codeWriterScope); }