C# 클래스 UsonPattern.RegexPart, extensions

파일 보기 프로젝트 열기: netfx/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