다음을 통해 공유


RootComponentMapping 생성자

정의

오버로드

RootComponentMapping(Type, String)

제공된 componentTypeselector를 사용하여 의 RootComponentMapping 새 instance 만듭니다.

RootComponentMapping(Type, String, ParameterView)

제공된 componentTypeselector를 사용하여 의 RootComponentMapping 새 instance 만듭니다.

RootComponentMapping(Type, String)

Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs

제공된 componentTypeselector를 사용하여 의 RootComponentMapping 새 instance 만듭니다.

public:
 RootComponentMapping(Type ^ componentType, System::String ^ selector);
public RootComponentMapping(Type componentType, string selector);
new Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping : Type * string -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping
Public Sub New (componentType As Type, selector As String)

매개 변수

componentType
Type

구성 요소 유형입니다. 을 구현 IComponent해야 합니다.

selector
String

구성 요소의 DOM 요소 선택기 또는 구성 요소 등록 ID입니다.

적용 대상

RootComponentMapping(Type, String, ParameterView)

Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs

제공된 componentTypeselector를 사용하여 의 RootComponentMapping 새 instance 만듭니다.

public:
 RootComponentMapping(Type ^ componentType, System::String ^ selector, Microsoft::AspNetCore::Components::ParameterView parameters);
public RootComponentMapping(Type componentType, string selector, Microsoft.AspNetCore.Components.ParameterView parameters);
new Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping : Type * string * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping
Public Sub New (componentType As Type, selector As String, parameters As ParameterView)

매개 변수

componentType
Type

구성 요소 유형입니다. 을 구현 IComponent해야 합니다.

selector
String

구성 요소의 DOM 요소 선택기 또는 등록 ID입니다.

parameters
ParameterView

구성 요소에 전달할 매개 변수입니다.

적용 대상