mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
25 lines
755 B
C#
25 lines
755 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|