public Kv(KvType type) { if (type == KvType.Web) { DataTable = UData.ToTable2("Kv", "k", "v"); } else { string path = GetFilePath(type); DataTable = UData.LoadDataTable5(path); } }
public static string GetFilePath(KvType type) { return(Ap.FolderDataKv + type.ToString() + ".icx"); }
public static Kv Instance(KvType type) { return(new Kv(type)); }