From be041ae8bc96650a26b13e1d819deb4c4d432bfd Mon Sep 17 00:00:00 2001
From: "galens.gmx" <260827400@qq.com>
Date: Tue, 5 Mar 2024 14:50:19 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20keyin=20=E8=BD=AC?=
=?UTF-8?q?=E5=8F=82=E5=90=8E=E5=8F=98=E6=88=90=E5=B0=8F=E5=86=99=E7=9A=84?=
=?UTF-8?q?bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
MSAddinTest/Core/Command/RunPluginCommand.cs | 2 +-
MSAddinTest/Core/Executor/ExecutorBase.cs | 2 +-
MSAddinTest/Core/Loader/PluginAssemblyLoader_Methods.cs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/MSAddinTest/Core/Command/RunPluginCommand.cs b/MSAddinTest/Core/Command/RunPluginCommand.cs
index a8544e6..77d67be 100644
--- a/MSAddinTest/Core/Command/RunPluginCommand.cs
+++ b/MSAddinTest/Core/Command/RunPluginCommand.cs
@@ -53,7 +53,7 @@ public override FuncResult Start()
if (executorsCount == 0)
{
- MessageBox.Show($"未找到名为{_executorName}的执行器");
+ MessageBox.Show($"未找到名为:{_executorName} 的执行器");
}
return new FuncResult(executorsCount > 0);
diff --git a/MSAddinTest/Core/Executor/ExecutorBase.cs b/MSAddinTest/Core/Executor/ExecutorBase.cs
index 1bd7783..77aeddc 100644
--- a/MSAddinTest/Core/Executor/ExecutorBase.cs
+++ b/MSAddinTest/Core/Executor/ExecutorBase.cs
@@ -46,7 +46,7 @@ public ExecutorBase(Type type)
///
/// 通过输入字符串匹配当前执行器
///
- ///
+ /// 用户输入的字符串
///
///
///
diff --git a/MSAddinTest/Core/Loader/PluginAssemblyLoader_Methods.cs b/MSAddinTest/Core/Loader/PluginAssemblyLoader_Methods.cs
index 7d1cc70..4c72665 100644
--- a/MSAddinTest/Core/Loader/PluginAssemblyLoader_Methods.cs
+++ b/MSAddinTest/Core/Loader/PluginAssemblyLoader_Methods.cs
@@ -21,7 +21,7 @@ public FuncResult Execute(string nameWithParams)
{
// 使用正则表达式将多个空格转换成一个空格
nameWithParams = System.Text.RegularExpressions.Regex.Replace(nameWithParams, @"\s+", " ");
- var nameTemp = nameWithParams.Trim().ToLower();
+ var nameTemp = nameWithParams.Trim();
// 对名称进行匹配
// 如果是 keyin ,通过匹配前缀是否为 keyin 来确定
// 名称不区分大小写