C# Класс Sakura.AspNetCore.Mvc.Internal.StringToHtmlContentConverter

Provide helper methods to convert string value to IHtmlContent object. This class is static.
Показать файл Открыть проект

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

Метод Описание
ToHtmlContent ( this value, bool encodeContent ) : IHtmlContent

Convert a string value to IHtmlContent object.

Описание методов

ToHtmlContent() публичный статический Метод

Convert a string value to IHtmlContent object.
public static ToHtmlContent ( this value, bool encodeContent ) : IHtmlContent
value this The value of the string.
encodeContent bool /// Control whether the should be HTML-encoded before be written to a /// page. ///
Результат IHtmlContent