Skip to content

Commit

Permalink
Fixed parameter names
Browse files Browse the repository at this point in the history
  • Loading branch information
tbm0115 committed Aug 16, 2024
1 parent 1553f5e commit 0581930
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions MtconnectTranspiler/Interpreters/PlainTextInterpreter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public override string MathInterpreter(string expression)
=> expression; // No special formatting for math in plain text

/// <inheritdoc />
public override string NewAcronymInterpreter(string acronym1, string contents, string definition)
=> $"{contents} ({acronym1}: {definition})";
public override string NewAcronymInterpreter(string acronym1, string acronym2, string term)
=> $"{acronym2} ({acronym1}: {term})";

/// <inheritdoc />
public override string OrderedListInterpreter(string contents)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ public override string LineBreakInterpreter()
=> "<br/>";

/// <inheritdoc />
public override string MathInterpreter(string contents)
=> EmphasisInterpreter(contents);
public override string MathInterpreter(string expression)
=> EmphasisInterpreter(expression);

/// <inheritdoc />
public override string NewAcronymInterpreter(string acronym1, string contents, string definition)
=> EmphasisInterpreter($"{contents} ({acronym1})");
public override string NewAcronymInterpreter(string acronym1, string acronym2, string term)
=> EmphasisInterpreter($"{acronym2} ({acronym1})");

/// <inheritdoc />
public override string OrderedListInterpreter(string contents)
Expand Down Expand Up @@ -89,12 +89,12 @@ public override string TableInterpreter(string contents)
=> $"<para>{contents.Replace("|", "").Replace("\n", "<br/>")}</para>";

/// <inheritdoc />
public override string TermInterpreter(string contents)
=> EmphasisInterpreter(contents);
public override string TermInterpreter(string term)
=> EmphasisInterpreter(term);

/// <inheritdoc />
public override string TermPluralInterpreter(string contents)
=> EmphasisPluralInterpreter(contents);
public override string TermPluralInterpreter(string term)
=> EmphasisPluralInterpreter(term);

/// <summary>
/// <inheritdoc cref="VisualStudioSummaryInterpreter" path="/interpreter"/>
Expand Down
2 changes: 1 addition & 1 deletion MtconnectTranspiler/MtconnectTranspiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>MTConnect Transpiler</Title>
<Version>2.4.0-prerelease.3</Version>
<Version>2.4.0-prerelease.4</Version>
<Authors>mtconnect, tbm0115</Authors>
<Company>MTConnect Institute; TAMS;</Company>
<Description>A library capable of parsing an XMI for the MTConnect Standard and passing it to an implemented transpiler.</Description>
Expand Down

0 comments on commit 0581930

Please sign in to comment.