TagHelperOutput 클래스

정의

의 출력을 나타내는 데 사용되는 클래스입니다 ITagHelper.

public ref class TagHelperOutput : Microsoft::AspNetCore::Html::IHtmlContentContainer
public class TagHelperOutput : Microsoft.AspNetCore.Html.IHtmlContentContainer
type TagHelperOutput = class
    interface IHtmlContentContainer
    interface IHtmlContent
type TagHelperOutput = class
    interface IHtmlContent
    interface IHtmlContentContainer
Public Class TagHelperOutput
Implements IHtmlContentContainer
상속
TagHelperOutput
구현

생성자

TagHelperOutput(String, TagHelperAttributeList, Func<Boolean,HtmlEncoder,Task<TagHelperContent>>)

TagHelperOutput의 새 인스턴스를 인스턴스화합니다.

속성

Attributes

HTML 요소의 특성입니다.

Content

HTML 요소의 기본 콘텐츠를 가져오기 또는 설정합니다.

IsContentModified

true 가 설정되었으면 Content 이고, false 그렇지 않으면 입니다.

PostContent

HTML 요소의 게시물 콘텐츠입니다.

PostElement

HTML 요소 뒤의 콘텐츠입니다.

PreContent

HTML 요소의 사전 콘텐츠입니다.

PreElement

HTML 요소 앞에 오는 콘텐츠입니다.

TagMode

생성된 HTML에 있는 요소의 구문입니다.

TagName

HTML 요소의 태그 이름입니다.

메서드

GetChildContentAsync()

자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.

GetChildContentAsync(Boolean)

자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.

GetChildContentAsync(Boolean, HtmlEncoder)

scope 지정된 encoder 를 사용하여 자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.

GetChildContentAsync(HtmlEncoder)

scope 지정된 encoder 를 사용하여 자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환합니다.

Reinitialize(String, TagMode)

TagHelperOutput 지우고 제공된 값으로 상태를 업데이트합니다.

SuppressOutput()

아무것도 생성하지 않도록 변경 TagHelperOutput 합니다.

WriteTo(TextWriter, HtmlEncoder)

지정된 에 지정된 encoderwriter을 사용하여 인코딩하여 콘텐츠를 씁니다.

명시적 인터페이스 구현

IHtmlContentContainer.CopyTo(IHtmlContentBuilder)

의 출력을 나타내는 데 사용되는 클래스입니다 ITagHelper.

IHtmlContentContainer.MoveTo(IHtmlContentBuilder)

의 출력을 나타내는 데 사용되는 클래스입니다 ITagHelper.

확장 메서드

AddClass(TagHelperOutput, String, HtmlEncoder)

지정된 classValue 를 의 AttributestagHelperOutput추가합니다.

CopyHtmlAttribute(TagHelperOutput, String, TagHelperContext)

사용자가 제공한 특성을 의 에서 contextAllAttributesAttributestagHelperOutput복사합니다.

MergeAttributes(TagHelperOutput, TagBuilder)

지정된 tagBuilderAttributes 를 에 병합합니다 tagHelperOutput.

RemoveClass(TagHelperOutput, String, HtmlEncoder)

의 에서 지정된 classValuetagHelperOutputAttributes제거합니다.

RemoveRange(TagHelperOutput, IEnumerable<TagHelperAttribute>)

의 에서 tagHelperOutput지정된 attributes 를 제거합니다Attributes.

적용 대상