示例#1
0
        public string callStringFuncWithParam(string functionName, AnySDKParam param)
        {
            List <AnySDKParam> list = new List <AnySDKParam>();

            list.Add(param);
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Capacity = 1024;
            AnySDKShare.AnySDKShare_nativeCallStringFuncWithParam(functionName, list.ToArray(), list.Count, stringBuilder);
            return(stringBuilder.ToString());
        }
示例#2
0
        public string callStringFuncWithParam(string functionName, List <AnySDKParam> param = null)
        {
            StringBuilder stringBuilder = new StringBuilder();

            stringBuilder.Capacity = 1024;
            if (param == null)
            {
                AnySDKShare.AnySDKShare_nativeCallStringFuncWithParam(functionName, null, 0, stringBuilder);
            }
            else
            {
                AnySDKShare.AnySDKShare_nativeCallStringFuncWithParam(functionName, param.ToArray(), param.Count, stringBuilder);
            }
            return(stringBuilder.ToString());
        }