aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-07-27 02:26:48 -0400
committerGitHub <noreply@github.com>2016-07-27 02:26:48 -0400
commita99ba6ce608a9d44f955a14175a0488d2a4b0a41 (patch)
treea729a6c9ee495070a2edb7e38dbd40e558a190d2 /MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
parente389d92e68a3f8d13da8a88b04bb9000f4d0e512 (diff)
parent2fed4c1ab8af48cfb6a0077189e6b8addbedb8d7 (diff)
Merge pull request #1986 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs')
-rw-r--r--MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs24
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 0000000000..40631f5825
--- /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;
+ }
+ }
+}