Skip to content

Commit 7bef6ad

Browse files
committed
Renamed option AddSBInFront to AddSBAtTheTop.
Renamed option AddSBInEnd to AddSBAtTheBottom.
1 parent 6499c72 commit 7bef6ad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CSharpToJavaScript/CSTOJS.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,11 @@ private void Generate(SyntaxTree tree, Assembly? assembly, List<MetadataReferenc
644644

645645
_Walker = new(_Options, compilation.GetSemanticModel(trueST));
646646

647-
_Walker.JSSB.Append(_Options.AddSBInFront);
647+
_Walker.JSSB.Append(_Options.AddSBAtTheTop);
648648

649649
_Walker.Visit(trueRoot);
650650

651-
_Walker.JSSB.Append(_Options.AddSBInEnd);
651+
_Walker.JSSB.Append(_Options.AddSBAtTheBottom);
652652

653653
if (_Options.Debug)
654654
{

CSharpToJavaScript/CSTOJSOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ public record class CSTOJSOptions
106106
/// <value>
107107
/// Default: <c>new()</c>
108108
/// </value>
109-
public StringBuilder AddSBInFront { get; set; } = new();
109+
public StringBuilder AddSBAtTheTop { get; set; } = new();
110110
/// <summary>
111111
/// Add a <see cref="StringBuilder" /> to the end of a javascript file.
112112
/// </summary>
113113
/// <remarks>Note! When passing a folder path to <see cref="CSTOJS.GenerateOneAsync(string, string?)" /> applies to every file!</remarks>
114114
/// <value>
115115
/// Default: <c>new()</c>
116116
/// </value>
117-
public StringBuilder AddSBInEnd { get; set; } = new();
117+
public StringBuilder AddSBAtTheBottom { get; set; } = new();
118118
/// <summary>
119119
/// Creates new default options. See <see cref="CSTOJSOptions" />.
120120
/// </summary>

0 commit comments

Comments
 (0)