Skip to content

Commit 4759903

Browse files
committed
VersionBump : v0.1.0-preview.7
1 parent 4e382e4 commit 4759903

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/CodeOfChaos.GeneratorTools/CodeOfChaos.GeneratorTools.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<!-- Main package name -->
1010
<PackageId>CodeOfChaos.GeneratorTools</PackageId>
11-
<Version>0.1.0-preview.6</Version>
11+
<Version>0.1.0-preview.7</Version>
1212
<Authors>Anna Sas</Authors>
1313
<Description>A library to help you create code generators more easily</Description>
1414
<PackageProjectUrl>https://github.com/code-of-chaos/cs-code_of_chaos-generator_tools/</PackageProjectUrl>

src/CodeOfChaos.GeneratorTools/StringBuilders/GeneratorStringBuilder.cs

+7
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ public GeneratorStringBuilder IndentLine(string text) {
8888
return this;
8989
}
9090
#endregion
91+
92+
public GeneratorStringBuilder AppendLineAndIndent(string text, Action<GeneratorStringBuilder> indentedAction) {
93+
AppendLine(text);
94+
Indent(indentedAction);
95+
return this;
96+
}
97+
9198
#region ToString & Clear
9299
public override string ToString() => _stringBuilder.ToString();
93100

0 commit comments

Comments
 (0)