C# 클래스 Pihrtsoft.Text.RegularExpressions.Linq.QuantifiablePattern

Represents a pattern that can be quantified, i.e. quantifier can be applied on it. This class is abstract.
상속: Pattern
파일 보기 프로젝트 열기: JosefPihrt/LinqToRegex

공개 메소드들

메소드 설명
Count ( int exactCount ) : QuantifiedPattern

Specifies that previous element must be matched a specified number of times.

Count ( int minCount, int maxCount ) : QuantifiedPattern

Specifies that previous element must be matched from minimal to maximum times.

CountFrom ( int minCount ) : QuantifiedPattern

Specifies that previous element must be matched at least specified number of times.

Maybe ( ) : QuantifiedPattern

Specifies that previous element must be matched zero or one time.

MaybeCount ( int maxCount ) : QuantifiedPattern

Specifies that previous element must be matched at most specified number of times.

MaybeMany ( ) : QuantifiedPattern

Specifies that previous element must be matched zero or more times.

OneMany ( ) : QuantifiedPattern

Specifies that previous element must be matched one or more times.

보호된 메소드들

메소드 설명
QuantifiablePattern ( ) : System

Initializes a new instance of the QuantifiablePattern class.

메소드 상세

Count() 공개 메소드

Specifies that previous element must be matched a specified number of times.
is less than zero.
public Count ( int exactCount ) : QuantifiedPattern
exactCount int A number of times the pattern must be matched.
리턴 QuantifiedPattern

Count() 공개 메소드

Specifies that previous element must be matched from minimal to maximum times.
is less than zero or is less than .
public Count ( int minCount, int maxCount ) : QuantifiedPattern
minCount int A minimal number of times the pattern must be matched.
maxCount int A maximum number of times the pattern can be matched.
리턴 QuantifiedPattern

CountFrom() 공개 메소드

Specifies that previous element must be matched at least specified number of times.
is less than zero.
public CountFrom ( int minCount ) : QuantifiedPattern
minCount int A minimal number of times the pattern must be matched.
리턴 QuantifiedPattern

Maybe() 공개 메소드

Specifies that previous element must be matched zero or one time.
public Maybe ( ) : QuantifiedPattern
리턴 QuantifiedPattern

MaybeCount() 공개 메소드

Specifies that previous element must be matched at most specified number of times.
is less than zero.
public MaybeCount ( int maxCount ) : QuantifiedPattern
maxCount int A maximum number of times the pattern can be matched.
리턴 QuantifiedPattern

MaybeMany() 공개 메소드

Specifies that previous element must be matched zero or more times.
public MaybeMany ( ) : QuantifiedPattern
리턴 QuantifiedPattern

OneMany() 공개 메소드

Specifies that previous element must be matched one or more times.
public OneMany ( ) : QuantifiedPattern
리턴 QuantifiedPattern

QuantifiablePattern() 보호된 메소드

Initializes a new instance of the QuantifiablePattern class.
protected QuantifiablePattern ( ) : System
리턴 System