完全清除Resource依赖, 目前可以直接使用源码
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user