TagHelperOutput 생성자

정의

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

public:
 TagHelperOutput(System::String ^ tagName, Microsoft::AspNetCore::Razor::TagHelpers::TagHelperAttributeList ^ attributes, Func<bool, System::Text::Encodings::Web::HtmlEncoder ^, System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^> ^ getChildContentAsync);
public TagHelperOutput (string tagName, Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList attributes, Func<bool,System.Text.Encodings.Web.HtmlEncoder,System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>> getChildContentAsync);
new Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput : string * Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttributeList * Func<bool, System.Text.Encodings.Web.HtmlEncoder, System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>> -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput
Public Sub New (tagName As String, attributes As TagHelperAttributeList, getChildContentAsync As Func(Of Boolean, HtmlEncoder, Task(Of TagHelperContent)))

매개 변수

tagName
String

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

attributes
TagHelperAttributeList

HTML 특성입니다.

getChildContentAsync
Func<Boolean,HtmlEncoder,Task<TagHelperContent>>

scope 지정된 HtmlEncoder 를 사용하여 자식을 비동기적으로 실행하고 렌더링된 콘텐츠를 반환하는 데 사용되는 대리자입니다.

적용 대상