From 058193029149d4c0f5196fe557b65da9ff43fa21 Mon Sep 17 00:00:00 2001 From: Trais McAllister Date: Thu, 15 Aug 2024 21:31:06 -0700 Subject: [PATCH] Fixed parameter names --- .../Interpreters/PlainTextInterpreter.cs | 4 ++-- .../VisualStudioSummaryInterpreter.cs | 16 ++++++++-------- MtconnectTranspiler/MtconnectTranspiler.csproj | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/MtconnectTranspiler/Interpreters/PlainTextInterpreter.cs b/MtconnectTranspiler/Interpreters/PlainTextInterpreter.cs index 40937a5..2e72cc5 100644 --- a/MtconnectTranspiler/Interpreters/PlainTextInterpreter.cs +++ b/MtconnectTranspiler/Interpreters/PlainTextInterpreter.cs @@ -49,8 +49,8 @@ public override string MathInterpreter(string expression) => expression; // No special formatting for math in plain text /// - 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})"; /// public override string OrderedListInterpreter(string contents) diff --git a/MtconnectTranspiler/Interpreters/VisualStudioSummaryInterpreter.cs b/MtconnectTranspiler/Interpreters/VisualStudioSummaryInterpreter.cs index 69e8a34..2ae590e 100644 --- a/MtconnectTranspiler/Interpreters/VisualStudioSummaryInterpreter.cs +++ b/MtconnectTranspiler/Interpreters/VisualStudioSummaryInterpreter.cs @@ -53,12 +53,12 @@ public override string LineBreakInterpreter() => "
"; /// - public override string MathInterpreter(string contents) - => EmphasisInterpreter(contents); + public override string MathInterpreter(string expression) + => EmphasisInterpreter(expression); /// - 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})"); /// public override string OrderedListInterpreter(string contents) @@ -89,12 +89,12 @@ public override string TableInterpreter(string contents) => $"{contents.Replace("|", "").Replace("\n", "
")}
"; /// - public override string TermInterpreter(string contents) - => EmphasisInterpreter(contents); + public override string TermInterpreter(string term) + => EmphasisInterpreter(term); /// - public override string TermPluralInterpreter(string contents) - => EmphasisPluralInterpreter(contents); + public override string TermPluralInterpreter(string term) + => EmphasisPluralInterpreter(term); /// /// diff --git a/MtconnectTranspiler/MtconnectTranspiler.csproj b/MtconnectTranspiler/MtconnectTranspiler.csproj index 8e66c2d..1b2a2c5 100644 --- a/MtconnectTranspiler/MtconnectTranspiler.csproj +++ b/MtconnectTranspiler/MtconnectTranspiler.csproj @@ -6,7 +6,7 @@ enable True MTConnect Transpiler - 2.4.0-prerelease.3 + 2.4.0-prerelease.4 mtconnect, tbm0115 MTConnect Institute; TAMS; A library capable of parsing an XMI for the MTConnect Standard and passing it to an implemented transpiler.