aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-26 13:28:47 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-26 13:28:47 -0400
commite4e87e24a1589af33d1a9e4258b1527b4d4902e5 (patch)
tree740a62eac05ac248b19154c1a339cf271ffeef26 /MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
parentf539c9894c91e15189b2d9d676afa8ea08b3f179 (diff)
parentfd53bee140ca79a277a3cf4007069951d9cb5d65 (diff)
Merge branch 'dev' of https://github.com/MediaBrowser/Emby into 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 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;
+ }
+ }
+}