aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-07-25 23:40:41 -0400
committerGitHub <noreply@github.com>2016-07-25 23:40:41 -0400
commitfd53bee140ca79a277a3cf4007069951d9cb5d65 (patch)
treee1432b3236abe04f08241e70474af4b9f595dcfb /MediaBrowser.Tests/ConsistencyTests/TextIndexing/WordOccurrence.cs
parent8328f39834f042e1808fd8506bbc7c48151703ab (diff)
parentaa434d591e8ad80c2f750221d2b44189a8e0ccda (diff)
Merge pull request #1984 from softworkz/StringUsageReporter
Add StringUsageReporter
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;
+ }
+ }
+}