public JsHelper(object target, JsAgent agent) { this.target = target; this.agent = agent; IReflect reflect = target as IReflect; foreach (MethodInfo method in reflect.GetMethods(BindingFlags.Default)) { methods[method.Name] = method; } }
public JsDispatchDelegate(JsAgent agent, int targetId) { this.agent = agent; this.targetId = targetId; }