C# 클래스 TextHelper.AutoLinker.AutoLinkReplacer

파일 보기 프로젝트 열기: tylermercier/TextHelper

공개 메소드들

메소드 설명
AutoLinkReplacer ( string>.IDictionary dictionary, string>.Func textReplacer, LinkMode linkMode ) : System
GetTextFor ( string link ) : string
OnEmailMatch ( Match match ) : string
OnUrlMatch ( Match match ) : string
Replace ( string text ) : string

비공개 메소드들

메소드 설명
GetAttributesFromDictionary ( string>.IDictionary dictionary ) : string
GetHyperlink ( string format, string link ) : string

메소드 상세

AutoLinkReplacer() 공개 메소드

public AutoLinkReplacer ( string>.IDictionary dictionary, string>.Func textReplacer, LinkMode linkMode ) : System
dictionary string>.IDictionary
textReplacer string>.Func
linkMode LinkMode
리턴 System

GetTextFor() 공개 메소드

public GetTextFor ( string link ) : string
link string
리턴 string

OnEmailMatch() 공개 메소드

public OnEmailMatch ( Match match ) : string
match System.Text.RegularExpressions.Match
리턴 string

OnUrlMatch() 공개 메소드

public OnUrlMatch ( Match match ) : string
match System.Text.RegularExpressions.Match
리턴 string

Replace() 공개 메소드

public Replace ( string text ) : string
text string
리턴 string