C# Класс UsonPattern.RegexPart, extensions

Показать файл Открыть проект

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

Метод Описание
Alternate ( ) : RegexPart
Alternate ( RegexPart alternate ) : RegexPart

Alternates this part with the given value. Equivalent to just using the "|" operator on two values: QuotedPart | NonWhitespacePart;

Alternate ( string alternate ) : RegexPart

Alternates this part with the given value. Equivalent to just using the "|" operator on two values: QuotedPart | NonWhitespacePart;

ToString ( ) : string

Returns the built pattern. Not necessary to call this method, as the RegexPart can be assigned to a string variable using implicit type conversion.

operator ( ) : RegexPart

Alternates the current pattern with the given one

Приватные методы

Метод Описание
RegexPart ( string pattern ) : System

Описание методов

Alternate() публичный Метод

public Alternate ( ) : RegexPart
Результат RegexPart

Alternate() публичный Метод

Alternates this part with the given value. Equivalent to just using the "|" operator on two values: QuotedPart | NonWhitespacePart;
public Alternate ( RegexPart alternate ) : RegexPart
alternate RegexPart
Результат RegexPart

Alternate() публичный Метод

Alternates this part with the given value. Equivalent to just using the "|" operator on two values: QuotedPart | NonWhitespacePart;
public Alternate ( string alternate ) : RegexPart
alternate string
Результат RegexPart

ToString() публичный Метод

Returns the built pattern. Not necessary to call this method, as the RegexPart can be assigned to a string variable using implicit type conversion.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

Alternates the current pattern with the given one
public static operator ( ) : RegexPart
Результат RegexPart