public List <string> Seperate(FileInfo fi) { List <string> list = new List <string>(); string filenameWithoutExt = Path.GetFileNameWithoutExtension(fi.FullName); filenameWithoutExt = TermOptions.InsertSeperatorBetweenNumbers(filenameWithoutExt); list.AddRange(filenameWithoutExt.Split(this.ToArray(), StringSplitOptions.RemoveEmptyEntries)); return(list); }
public IndexedFile(FileInfo fi) { FileData = new IndexedFileData(fi); IndexedStrings = TermOptions.ApplyRules(Indexer.IndexSeperators.Seperate(fi)); }