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
Показать файл Открыть проект

Открытые методы

Метод Описание
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