(Type type, string methodName)
| 426 | } |
| 427 | |
| 428 | public LuaCSFunction GetMethodWrapInCache(Type type, string methodName) |
| 429 | { |
| 430 | //string retriKey = type.ToString() + "." + methodName; |
| 431 | //return methodsCache.ContainsKey(retriKey) ? methodsCache[retriKey] : null; |
| 432 | if (!methodsCache.ContainsKey(type)) |
| 433 | { |
| 434 | methodsCache[type] = new Dictionary<string, LuaCSFunction>(); |
| 435 | } |
| 436 | var methodsOfType = methodsCache[type]; |
| 437 | return methodsOfType.ContainsKey(methodName) ? methodsOfType[methodName] : null; |
| 438 | } |
| 439 | |
| 440 | public LuaCSFunction GetDelegateWrap(Type type) |
| 441 | { |
nothing calls this directly
no outgoing calls
no test coverage detected