mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create and use constructors in Skippers
This commit is contained in:
@@ -84,6 +84,18 @@ namespace SabreTools.Skippers
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
public Rule(string? startOffset, string? endOffset, HeaderSkipOperation operation, Test[]? tests, string? sourceFile)
|
||||
{
|
||||
StartOffset = startOffset;
|
||||
EndOffset = endOffset;
|
||||
Operation = operation;
|
||||
Tests = tests;
|
||||
SourceFile = sourceFile;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Check if a Stream passes all tests in the Rule
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user