diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-07-27 15:32:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-27 15:32:07 -0400 |
| commit | 06b0cfb86fec5f1de83080f4fece2513dfa9cf6c (patch) | |
| tree | b94e74277d1b64d804acb12c6e4c482452381353 /MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs | |
| parent | b785e919f375d1b876d2e82e0e377db9b6cfbc71 (diff) | |
| parent | 897e0566294e854395f61040a8b922c1d0166930 (diff) | |
Merge pull request #1991 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs')
| -rw-r--r-- | MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs b/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs new file mode 100644 index 000000000..40631f582 --- /dev/null +++ b/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs @@ -0,0 +1,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; + } + } +} |
