2
0

WordOccurrence.cs 755 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MediaBrowser.Tests.ConsistencyTests.TextIndexing
  7. {
  8. public struct WordOccurrence
  9. {
  10. public readonly string FileName; // file containing the word.
  11. public readonly string FullPath; // file containing the word.
  12. public readonly int LineNumber; // line within the file.
  13. public readonly int WordIndex; // index within the line.
  14. public WordOccurrence(string fileName, string fullPath, int lineNumber, int wordIndex)
  15. {
  16. FileName = fileName;
  17. FullPath = fullPath;
  18. LineNumber = lineNumber;
  19. WordIndex = wordIndex;
  20. }
  21. }
  22. }