Problem with RegisterObject on ASP.NET
Type myType = typeof(CustomFunctions);
MethodInfo transToBigChinese = myType.GetMethod("TransToBigChinese");
RegisteredObjects.AddFunction(transToBigChinese, "CustomFuncs");
I want to register a custom function, what should I judge function exists.
The problem has been resolved.
Type myType = typeof(CustomFunctions);
MethodInfo transToBigChinese = myType.GetMethod("TransToBigChinese");
if (!RegisteredObjects.IsTypeRegistered(myType))
{
    RegisteredObjects.Add(myType, "Functions,CustomFuncs,", 0x34);
    RegisteredObjects.AddFunction(transToBigChinese, "CustomFuncs");
}