-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy pathIColumnizerPriority.cs
More file actions
19 lines (18 loc) · 986 Bytes
/
IColumnizerPriority.cs
File metadata and controls
19 lines (18 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace ColumnizerLib;
/// <summary>
/// Defines a method that determines the priority of a columnizer for a given file and sample log lines.
/// </summary>
/// <remarks>Implementations use the provided file name and sample log lines to assess how suitable the columnizer
/// is for processing the file. Higher priority values indicate a better fit. This interface is typically used to select
/// the most appropriate columnizer when multiple options are available.</remarks>
[Obsolete("This interface is deprecated. Use IColumnizerPriorityMemory instead for a memory based implementation.")]
public interface IColumnizerPriority
{
/// <summary>
/// Get the priority for this columnizer so the up layer can decide which columnizer is the best fitted one.
/// </summary>
/// <param name="samples"></param>
/// <param name="fileName"></param>
/// <returns></returns>
Priority GetPriority (string fileName, IEnumerable<ILogLine> samples);
}