C# Class GuidGen.Formats.BaseGuidSearchFormat

Inheritance: BaseGuidFormat, IGuidSearcher
Afficher le fichier Open project: michaelmcdaniel/GuidgenConsole

Méthodes publiques

Méthode Description
Find ( string s, int line = -1 ) : IEnumerable
IsMatch ( string s ) : bool

Matches given string against matching format. If no pattern exists, return false.

Replace ( string input, Guider guider, IGuidFormatter formatter = null, bool upcase = false, Action onReplacement = null, int lineNumber = -1 ) : string
TryParse ( string s, System.Guid &guid ) : bool

Méthodes protégées

Méthode Description
MatchToGuid ( Match m ) : System.Guid
Replace ( string line, int offset, System m, System.Guid input, System.Guid output, bool upcase ) : string

Method Details

Find() public méthode

public Find ( string s, int line = -1 ) : IEnumerable
s string
line int
Résultat IEnumerable

IsMatch() public méthode

Matches given string against matching format. If no pattern exists, return false.
public IsMatch ( string s ) : bool
s string string to match against
Résultat bool

MatchToGuid() protected méthode

protected MatchToGuid ( Match m ) : System.Guid
m System.Text.RegularExpressions.Match
Résultat System.Guid

Replace() public méthode

public Replace ( string input, Guider guider, IGuidFormatter formatter = null, bool upcase = false, Action onReplacement = null, int lineNumber = -1 ) : string
input string
guider Guider
formatter IGuidFormatter
upcase bool
onReplacement Action
lineNumber int
Résultat string

Replace() protected méthode

protected Replace ( string line, int offset, System m, System.Guid input, System.Guid output, bool upcase ) : string
line string
offset int
m System
input System.Guid
output System.Guid
upcase bool
Résultat string

TryParse() public méthode

public TryParse ( string s, System.Guid &guid ) : bool
s string
guid System.Guid
Résultat bool