C# 클래스 GuidGen.Formats.BaseGuidSearchFormat

상속: BaseGuidFormat, IGuidSearcher
파일 보기 프로젝트 열기: michaelmcdaniel/GuidgenConsole

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
MatchToGuid ( Match m ) : System.Guid
Replace ( string line, int offset, System m, System.Guid input, System.Guid output, bool upcase ) : string

메소드 상세

Find() 공개 메소드

public Find ( string s, int line = -1 ) : IEnumerable
s string
line int
리턴 IEnumerable

IsMatch() 공개 메소드

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

MatchToGuid() 보호된 메소드

protected MatchToGuid ( Match m ) : System.Guid
m System.Text.RegularExpressions.Match
리턴 System.Guid

Replace() 공개 메소드

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
리턴 string

Replace() 보호된 메소드

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
리턴 string

TryParse() 공개 메소드

public TryParse ( string s, System.Guid &guid ) : bool
s string
guid System.Guid
리턴 bool