Esempio n. 1
0
        public string NewID <T>(int NumLength)
        {
            string fname   = typeof(T).FullName;
            var    service = XCloud.GetXService(R.appidbuilder);
            var    api     = service[R.apiidcreate2];
            string url     = string.Format(api.ApiInfo.Route, XCloud.Current.AppID,
                                           System.Web.HttpUtility.UrlEncode(fname), NumLength);

            return(api.Get(url));
        }