20 lines
582 B
C#
20 lines
582 B
C#
namespace QFSW.QC
|
|
{
|
|
/// <summary>
|
|
/// Creates a Preprocessor that is loaded and used by the QuantumConsoleProcessor.
|
|
/// </summary>
|
|
public interface IQcPreprocessor
|
|
{
|
|
/// <summary>
|
|
/// The priority of this preprocessor to resolve processing order.
|
|
/// </summary>
|
|
int Priority { get; }
|
|
|
|
/// <summary>
|
|
/// Processes the provided text.
|
|
/// </summary>
|
|
/// <param name="text">The text to process.</param>
|
|
/// <returns>The processed text.</returns>
|
|
string Process(string text);
|
|
}
|
|
} |