public static void RegisterAppHandler(IAppHandler handler) { if (s_Handlers.ContainsKey(handler.HandlerName)) s_Handlers[handler.HandlerName] = handler; else { ReflectedController reflected = new ReflectedController(handler.GetType()); handler.ActionMethods = reflected.Parmses; s_Handlers.Add(handler.HandlerName, handler); } }
public static void RegisterAppHandler(IAppHandler handler) { if (s_Handlers.ContainsKey(handler.HandlerName)) { s_Handlers[handler.HandlerName] = handler; } else { ReflectedController reflected = new ReflectedController(handler.GetType()); handler.ActionMethods = reflected.Parmses; s_Handlers.Add(handler.HandlerName, handler); } }