C# 클래스 ToSic.SexyContent.ContentBlocks.Render

파일 보기 프로젝트 열기: 2sic/2sxc

공개 메소드들

메소드 설명
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