public string[] GetTagsList() { IronPython.Runtime.List TagsCollection = appCore.GetTagsList(); string[] FileTags = new string[TagsCollection.__len__()]; int i = 0; foreach (var CurrKey in TagsCollection) { FileTags[i] = CurrKey as string; i++; } return(FileTags); }
public string[] GetCollectionsList() { IronPython.Runtime.List CollectionsList = appCore.GetCollectionsList(); string[] FileNames = new string[CollectionsList.__len__()]; int i = 0; foreach (var CurrKey in CollectionsList) { FileNames[i] = CurrKey as string; i++; } return(FileNames); }
public string[] GetFilesList() { IronPython.Runtime.List FilesCollection = appCore.QueryAllFiles(); string [] FileNames = new string[FilesCollection.__len__()]; int i = 0; foreach (var CurrKey in FilesCollection) { FileNames[i] = CurrKey as string; i++; } return(FileNames); }
public string[] QueryFiles(string TagName) { IronPython.Runtime.List TagsCollection = appCore.QueryFiles(TagName); if (TagsCollection == null) { return(null); } string[] FileNames = new string[TagsCollection.__len__()]; int i = 0; foreach (var CurrKey in TagsCollection) { FileNames[i] = CurrKey as string; i++; } return(FileNames); }