Creates a new instance.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

Syntax

C#
public WatchPattern(
	int markingID,
	Regex patternToBeWatched
)
Visual Basic
Public Sub New ( 
	markingID As Integer,
	patternToBeWatched As Regex
)

Parameters

markingID
Type: System..::..Int32
The marking ID to be marked for each found matching patterns.
patternToBeWatched
Type: System.Text.RegularExpressions..::..Regex
The pattern to be watched and to be marked with 'markingID.'

Exceptions

ExceptionCondition
System..::..ArgumentException Parameter 'markingID' is invalid or not registered.

See Also