예제 #1
0
        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;
            }
        }
예제 #2
0
 public JsDispatchDelegate(JsAgent agent, int targetId)
 {
     this.agent = agent;
     this.targetId = targetId;
 }