C# Class FlimFlan.ReadableRex.Alternation

Afficher le fichier Open project: royosherove/dotnet-linq-to-regex

Méthodes publiques

Méthode Description
Either ( Pattern firstOption, Pattern secondOption ) : Pattern
If ( Pattern matched, Pattern then, Pattern otherwise ) : Pattern
If ( int unnamedCaptureToMatch, Pattern then, Pattern otherwise ) : Pattern
If ( string namedGroupToMatch, Pattern then, Pattern otherwise ) : Pattern

Private Methods

Méthode Description
Alternation ( Pattern precedingPattern ) : System

Method Details

Either() public méthode

public Either ( Pattern firstOption, Pattern secondOption ) : Pattern
firstOption Pattern
secondOption Pattern
Résultat Pattern

If() public méthode

public If ( Pattern matched, Pattern then, Pattern otherwise ) : Pattern
matched Pattern
then Pattern
otherwise Pattern
Résultat Pattern

If() public méthode

public If ( int unnamedCaptureToMatch, Pattern then, Pattern otherwise ) : Pattern
unnamedCaptureToMatch int
then Pattern
otherwise Pattern
Résultat Pattern

If() public méthode

public If ( string namedGroupToMatch, Pattern then, Pattern otherwise ) : Pattern
namedGroupToMatch string
then Pattern
otherwise Pattern
Résultat Pattern