Esempio n. 1
0
        public static BlogDemoor_v4 CreateDataManager_v4(string parameters = null)
        {
            NamedValues <ZValue> parameters2 = ParseParameters(parameters);
            bool test = WebData.GetTestValue(parameters2);

            return(BlogDemoor_v4.Create(test));
        }
Esempio n. 2
0
        protected override string GetDetailImageCacheUrlSubDirectory(WebData <BlogDemoorDetailData> data)
        {
            //return "Image";
            //return zPath.Combine("Image", zpath.PathSetExtension(data.Result.UrlCachePathResult.SubPath, null));
            //return zpath.PathSetExtension(data.Result.UrlCachePathResult.SubPath, null);
            //UrlCachePathResult urlCachePath = null;
            string subPath = null;

            //if (data.Result != null)
            //    subPath = data.Result.UrlCachePathResult.SubPath;
            //else
            subPath = data.Result_v2.Http.HttpRequest.UrlCachePath.SubPath;
            return("img\\" + zpath.PathSetExtension(subPath, null));
        }