C# Класс ToSic.SexyContent.ContentBlocks.Render

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

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

Метод Описание
All ( DynamicEntity context, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, string field = null, string merge = null ) : IHtmlString

Render content-blocks into a larger html-block containing placeholders

One ( DynamicEntity context, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, DynamicEntity item = null, string field = null, System.Guid newGuid = null ) : IHtmlString

Render one content block This is accessed through DynamicEntity.Render() At the moment it MUST stay internal, as it's not clear what API we want to surface

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

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

Render content-blocks into a larger html-block containing placeholders
public static All ( DynamicEntity context, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, string field = null, string merge = null ) : IHtmlString
context DynamicEntity The parent-item containing the content-blocks and providing edit-context
dontRelyOnParameterOrder string
field string Field containing the content-blocks
merge string Optional: html-text containing special placeholders
Результат IHtmlString

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

Render one content block This is accessed through DynamicEntity.Render() At the moment it MUST stay internal, as it's not clear what API we want to surface
public static One ( DynamicEntity context, string dontRelyOnParameterOrder = Constants.RandomProtectionParameter, DynamicEntity item = null, string field = null, System.Guid newGuid = null ) : IHtmlString
context DynamicEntity The parent-item containing the content-blocks and providing edit-context
dontRelyOnParameterOrder string
item DynamicEntity The content-block item to render
field string Optional:
newGuid System.Guid
Результат IHtmlString