TagHelperOutput.GetChildContentAsync 메서드

정의

오버로드

GetChildContentAsync()

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

GetChildContentAsync(Boolean)

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

GetChildContentAsync(HtmlEncoder)

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

GetChildContentAsync(Boolean, HtmlEncoder)

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

GetChildContentAsync()

Source:
TagHelperOutput.cs
Source:
TagHelperOutput.cs

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

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync ();
member this.GetChildContentAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync () As Task(Of TagHelperContent)

반환

Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.

설명

이 메서드는 암기됩니다. 여러 번의 호출로 인해 자식이 페이지의 원래 HtmlEncoder로 다시 실행되지 않습니다.

적용 대상

GetChildContentAsync(Boolean)

Source:
TagHelperOutput.cs
Source:
TagHelperOutput.cs

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

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(bool useCachedResult);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (bool useCachedResult);
member this.GetChildContentAsync : bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (useCachedResult As Boolean) As Task(Of TagHelperContent)

매개 변수

useCachedResult
Boolean

이면 true여러 번의 호출로 인해 페이지의 원래 HtmlEncoder로 자식이 다시 실행되지 않고 캐시된 콘텐츠가 반환됩니다.

반환

Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.

적용 대상

GetChildContentAsync(HtmlEncoder)

Source:
TagHelperOutput.cs
Source:
TagHelperOutput.cs

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

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (System.Text.Encodings.Web.HtmlEncoder encoder);
member this.GetChildContentAsync : System.Text.Encodings.Web.HtmlEncoder -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (encoder As HtmlEncoder) As Task(Of TagHelperContent)

매개 변수

encoder
HtmlEncoder

HtmlEncoder 페이지에서 C# 이외의 식을 처리할IHtmlContent 때 사용할 입니다. 이면 null페이지의 현재 HtmlEncoder를 사용하여 자식을 실행합니다.

반환

Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.

설명

이 메서드는 암기됩니다. 동일한 HtmlEncoder instance 여러 번의 호출로 인해 자식이 scope 해당 인코더로 다시 실행되지 않습니다.

적용 대상

GetChildContentAsync(Boolean, HtmlEncoder)

Source:
TagHelperOutput.cs
Source:
TagHelperOutput.cs

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

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^> ^ GetChildContentAsync(bool useCachedResult, System::Text::Encodings::Web::HtmlEncoder ^ encoder);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent> GetChildContentAsync (bool useCachedResult, System.Text.Encodings.Web.HtmlEncoder encoder);
member this.GetChildContentAsync : bool * System.Text.Encodings.Web.HtmlEncoder -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent>
Public Function GetChildContentAsync (useCachedResult As Boolean, encoder As HtmlEncoder) As Task(Of TagHelperContent)

매개 변수

useCachedResult
Boolean

이면 true동일한 HtmlEncoder 여러 호출로 인해 자식이 다시 실행되지 않고 캐시된 콘텐츠가 반환됩니다.

encoder
HtmlEncoder

HtmlEncoder 페이지에서 C# 이외의 식을 처리할IHtmlContent 때 사용할 입니다. 이면 null페이지의 현재 HtmlEncoder를 사용하여 자식을 실행합니다.

반환

Task 완료 시 자식이 렌더링한 콘텐츠를 반환하는 입니다.

적용 대상