aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
blob: 40631f5825c9538dca49f6d1c35f505d9b597f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

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;
        }
    }
}