示例#1
0
        // regName: js 中的重载运算符
        public OperatorBindingInfo(BindingManager bindingManager, MethodInfo methodInfo, bool isExtension, bool bStatic, string csName, string jsName, string cs_op, int length)
        {
            this.methodInfo  = methodInfo;
            this.isExtension = isExtension;
            this.length      = length;
            this.csName      = csName;
            this.jsName      = jsName;
            this.cs_op       = cs_op;
            this.csBindName  = bindingManager.GetBindName(bStatic, csName);

            this.Add(methodInfo, isExtension); //NOTE: 旧代码, 待更替
        }
示例#2
0
 public MethodBindingInfo(BindingManager bindingManager, bool bStatic, string csName, string jsName)
 {
     this.csBindName = bindingManager.GetBindName(bStatic, csName);
     this.jsName     = jsName;
 }