C# Класс TextHelper.AutoLinker

Показать файл Открыть проект

Открытые методы

Метод Описание
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