示例#1
0
文件: WebData.cs 项目: 24/source_04
        public static BlogDemoor_v4 CreateDataManager_v4(string parameters = null)
        {
            NamedValues <ZValue> parameters2 = ParseParameters(parameters);
            bool test = WebData.GetTestValue(parameters2);

            return(BlogDemoor_v4.Create(test));
        }
示例#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));
        }