C# 클래스 Skimur.Web.Infrastructure.HtmlContentViewComponentResult

An IViewComponentResult which writes an IHtmlContent when executed.
The provided content will be HTML-encoded as specified when the content was created. To encoded and write text, use a ContentViewComponentResult.
상속: IViewComponentResult
파일 보기 프로젝트 열기: skimur/skimur

공개 메소드들

메소드 설명
Execute ( ViewComponentContext context ) : void

Writes the EncodedContent.

ExecuteAsync ( ViewComponentContext context ) : System.Threading.Tasks.Task

Writes the EncodedContent.

HtmlContentViewComponentResult ( IHtmlContent encodedContent ) : Microsoft.AspNet.Html.Abstractions

Initializes a new HtmlContentViewComponentResult.

메소드 상세

Execute() 공개 메소드

Writes the EncodedContent.
public Execute ( ViewComponentContext context ) : void
context ViewComponentContext The .
리턴 void

ExecuteAsync() 공개 메소드

Writes the EncodedContent.
public ExecuteAsync ( ViewComponentContext context ) : System.Threading.Tasks.Task
context ViewComponentContext The .
리턴 System.Threading.Tasks.Task

HtmlContentViewComponentResult() 공개 메소드

Initializes a new HtmlContentViewComponentResult.
public HtmlContentViewComponentResult ( IHtmlContent encodedContent ) : Microsoft.AspNet.Html.Abstractions
encodedContent IHtmlContent
리턴 Microsoft.AspNet.Html.Abstractions