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()); }
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()); }