C# 클래스 TextHelper.AutoLinker

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

공개 메소드들

메소드 설명
AutoLink ( this text, string>.IDictionary htmlAttributes = null, string>.Func textReplacer = null, LinkMode linkMode = LinkMode.All ) : string

Turns all URLs and e-mail addresses into clickable links.

메소드 상세

AutoLink() 공개 정적인 메소드

Turns all URLs and e-mail addresses into clickable links.
public static AutoLink ( this text, string>.IDictionary htmlAttributes = null, string>.Func textReplacer = null, LinkMode linkMode = LinkMode.All ) : string
text this
htmlAttributes string>.IDictionary Adds HTML attributes to the links.
textReplacer string>.Func Lambda expression to change what text is shown inside the link tag.
linkMode LinkMode Option to limit what should be linked.
리턴 string