aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
blob: 7564d90f3c693198419d75e9514dcf6b18849e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace MediaBrowser.Tests.ConsistencyTests.TextIndexing
{
    public struct WordOccurrence
    {
        public readonly string FileName; // file containing the word.
        public readonly string FullPath; // file containing the word.
        public readonly int LineNumber;  // line within the file.
        public readonly int WordIndex;   // index within the line.

        public WordOccurrence(string fileName, string fullPath, int lineNumber, int wordIndex)
        {
            FileName = fileName;
            FullPath = fullPath;
            LineNumber = lineNumber;
            WordIndex = wordIndex;
        }
    }
}