public FTagObject(string subpath, string ptags, string descript = "") { this.subpath = subpath; this.descript = descript; tags = FTagTool.GetTagList(ptags); tags.Sort(); }
public List <FTagObject> SearchTag( List <string> andTags, List <string> orTags, List <string> notTags) { return(FTagTool.SearchTag(andTags, orTags, notTags, dic)); }
public FTagGroup(string name, string tags, string descript = "") { group_name = name; this.descript = descript; this.tags = FTagTool.GetTagList(tags); this.tags.Sort(); }
public bool RenameTag(string oldTag, string newTag) { if (GetTagList().Contains(newTag)) { return(false); } FTagTool.RenameTag(oldTag, newTag, ref dic, ref group); save(); return(true); }
public void SetProperty(string property, string contents) { if (this.property.ContainsKey(property)) { this.property[FTagTool.Legalize(property)] = FTagTool.Legalize(contents); } else { this.property.Add(FTagTool.Legalize(property), FTagTool.Legalize(contents)); } }
public void Extract(string subpath) { FTagTool.Extraction(dic, group, folder_path, subpath).save(); }
public void Merge(FTagStream stream) { FTagTool.Merge(ref dic, ref group, stream.dic, stream.group, folder_path, stream.folder_path); save(); }
public void Move(List <FTagObject> source, string subpath) { FTagTool.Move(ref dic, source, folder_path, subpath); save(); }
public void DeleteTag(string tag) { FTagTool.DeleteTag(tag, ref dic, ref group); save(); }
public List <Tuple <string, int> > GetTagRank() { return(FTagTool.GetTagRank(dic)); }
public string GetProperty(string property) { return(this.property[FTagTool.Legalize(property)]); }
public bool PropertyExists(string property) { return(this.property.ContainsKey(FTagTool.Legalize(property))); }