2
0

WordOccurrence.cs 635 B

123456789101112131415161718
  1. namespace MediaBrowser.Tests.ConsistencyTests.TextIndexing
  2. {
  3. public struct WordOccurrence
  4. {
  5. public readonly string FileName; // file containing the word.
  6. public readonly string FullPath; // file containing the word.
  7. public readonly int LineNumber; // line within the file.
  8. public readonly int WordIndex; // index within the line.
  9. public WordOccurrence(string fileName, string fullPath, int lineNumber, int wordIndex)
  10. {
  11. FileName = fileName;
  12. FullPath = fullPath;
  13. LineNumber = lineNumber;
  14. WordIndex = wordIndex;
  15. }
  16. }
  17. }