다음을 통해 공유


HtmlHelperComponentExtensions.RenderComponentAsync 메서드

정의

오버로드

RenderComponentAsync(IHtmlHelper, Type, RenderMode, Object)

지정된 componentType를 렌더링합니다.

RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode)

TComponent을 렌더링합니다.

RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode, Object)

TComponent을 렌더링합니다.

RenderComponentAsync(IHtmlHelper, Type, RenderMode, Object)

Source:
HtmlHelperComponentExtensions.cs

지정된 componentType를 렌더링합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ RenderComponentAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, Type ^ componentType, Microsoft::AspNetCore::Mvc::Rendering::RenderMode renderMode, System::Object ^ parameters);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> RenderComponentAsync (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Type componentType, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters);
static member RenderComponentAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * Type * Microsoft.AspNetCore.Mvc.Rendering.RenderMode * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent>
<Extension()>
Public Function RenderComponentAsync (htmlHelper As IHtmlHelper, componentType As Type, renderMode As RenderMode, parameters As Object) As Task(Of IHtmlContent)

매개 변수

componentType
Type

구성 요소 유형입니다.

renderMode
RenderMode

구성 요소에 대한 RenderMode입니다.

parameters
Object

Object 구성 요소에 전달할 매개 변수를 포함하는 입니다.

반환

적용 대상

RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode)

Source:
HtmlHelperComponentExtensions.cs

TComponent을 렌더링합니다.

public:
generic <typename TComponent>
 where TComponent : Microsoft::AspNetCore::Components::IComponent[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ RenderComponentAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, Microsoft::AspNetCore::Mvc::Rendering::RenderMode renderMode);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> RenderComponentAsync<TComponent> (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RenderComponentAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * Microsoft.AspNetCore.Mvc.Rendering.RenderMode -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Function RenderComponentAsync(Of TComponent As IComponent) (htmlHelper As IHtmlHelper, renderMode As RenderMode) As Task(Of IHtmlContent)

형식 매개 변수

TComponent

매개 변수

renderMode
RenderMode

구성 요소에 대한 RenderMode입니다.

반환

렌더링 TComponent된 에서 생성된 HTML입니다.

적용 대상

RenderComponentAsync<TComponent>(IHtmlHelper, RenderMode, Object)

Source:
HtmlHelperComponentExtensions.cs

TComponent을 렌더링합니다.

public:
generic <typename TComponent>
 where TComponent : Microsoft::AspNetCore::Components::IComponent[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<Microsoft::AspNetCore::Html::IHtmlContent ^> ^ RenderComponentAsync(Microsoft::AspNetCore::Mvc::Rendering::IHtmlHelper ^ htmlHelper, Microsoft::AspNetCore::Mvc::Rendering::RenderMode renderMode, System::Object ^ parameters);
public static System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> RenderComponentAsync<TComponent> (this Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper htmlHelper, Microsoft.AspNetCore.Mvc.Rendering.RenderMode renderMode, object parameters) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RenderComponentAsync : Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper * Microsoft.AspNetCore.Mvc.Rendering.RenderMode * obj -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Html.IHtmlContent> (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Function RenderComponentAsync(Of TComponent As IComponent) (htmlHelper As IHtmlHelper, renderMode As RenderMode, parameters As Object) As Task(Of IHtmlContent)

형식 매개 변수

TComponent

매개 변수

renderMode
RenderMode

구성 요소에 대한 RenderMode입니다.

parameters
Object

Object 구성 요소에 전달할 매개 변수를 포함하는 입니다.

반환

렌더링 TComponent된 에서 생성된 HTML입니다.

적용 대상