コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatchRecognizeRegExNested"/> class.
 /// </summary>
 /// <param name="elementType">Type of the element.</param>
 /// <param name="optionalRepeat">The optional repeat.</param>
 public MatchRecognizeRegExNested(MatchRecognizePatternElementType elementType, MatchRecognizeRegExRepeat optionalRepeat)
 {
     ElementType    = elementType;
     OptionalRepeat = optionalRepeat;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MatchRecognizeRegExAtom"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="type">The type.</param>
 /// <param name="optionalRepeat">The optional repeat.</param>
 public MatchRecognizeRegExAtom(String name, MatchRecognizePatternElementType type, MatchRecognizeRegExRepeat optionalRepeat)
 {
     Name           = name;
     ElementType    = type;
     OptionalRepeat = optionalRepeat;
 }