示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
        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);
        }