• 大小: 3.34MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-12
  • 语言: 其他
  • 标签: ueditor  .net  

资源简介

ueditor1-4-3.net官网最新版本

资源截图

代码片段和文件信息

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Web;

/// 
/// Config 的摘要说明
/// 

public static class Config
{
    private static bool noCache = true;
    private static Jobject BuildItems()
    {
        var json = File.ReadAllText(HttpContext.Current.Server.MapPath(“config.json“));
        return Jobject.Parse(json);
    }

    public static Jobject Items
    {
        get
        {
            if (noCache || _Items == null)
            {
                _Items = BuildItems();
            }
            return _Items;
        }
    }
    private static Jobject _Items;


    public static T GetValue(string key)
    {
        return Items[key].Value();
    }

    public static String[] GetStringList(string key)
    {
        return Items[key].Select(x => x.Value()).ToArray();
    }

    public static String GetString(string key)
    {
        return GetValue(key);
    }

    public static int GetInt(string key)
    {
        return GetValue(key);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-10-08 10:04  ueditor1_4_3-utf8-net\
     目录           0  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\
     目录           0  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\anchor\
     文件        1627  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\anchor\anchor.html
     目录           0  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\
     文件       15063  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\attachment.css
     文件        2370  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\attachment.html
     文件       30808  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\attachment.js
     目录           0  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\
     文件         923  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_chm.gif
     文件         841  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_default.png
     文件        1012  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_doc.gif
     文件         949  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_exe.gif
     文件         950  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_jpg.gif
     文件         986  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_mp3.gif
     文件        1001  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_mv.gif
     文件         996  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_pdf.gif
     文件        1001  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_ppt.gif
     文件        1009  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_psd.gif
     文件        1007  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_rar.gif
     文件         970  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_txt.gif
     文件        1005  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\fileTypeImages\icon_xls.gif
     目录           0  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\
     文件        1051  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\alignicon.gif
     文件        3714  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\alignicon.png
     文件        2810  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\bg.png
     文件       20097  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\file-icons.gif
     文件       44070  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\file-icons.png
     文件         453  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\icons.gif
     文件        2678  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\icons.png
     文件        1672  2014-05-29 16:48  ueditor1_4_3-utf8-net\dialogs\attachment\images\image.png
............此处省略312个文件信息

评论

共有 条评论