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