完全清除Resource依赖, 目前可以直接使用源码

This commit is contained in:
2025-10-08 12:00:42 +08:00
parent 0d4d4b75bb
commit a09b3c1eb1
31 changed files with 49 additions and 2926 deletions

View File

@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Reflection;
using Flee.InternalTypes;
using Flee.Resources;
namespace Flee.PublicTypes
{
@@ -156,7 +155,7 @@ namespace Flee.PublicTypes
if (mi == null)
{
string msg = Utility.GetGeneralErrorMessage(GeneralErrorResourceKeys.CouldNotFindPublicStaticMethodOnType, methodName, t.Name);
string msg = Utility.GetGeneralErrorMessage("CouldNotFindPublicStaticMethodOnType", methodName, t.Name);
throw new ArgumentException(msg);
}
@@ -172,7 +171,7 @@ namespace Flee.PublicTypes
if (mi.IsStatic == false | mi.IsPublic == false)
{
string msg = Utility.GetGeneralErrorMessage(GeneralErrorResourceKeys.OnlyPublicStaticMethodsCanBeImported);
string msg = Utility.GetGeneralErrorMessage("OnlyPublicStaticMethodsCanBeImported");
throw new ArgumentException(msg);
}