共用方式為


RootComponentMapping 建構函式

定義

多載

RootComponentMapping(Type, String)

使用提供的 componentTypeselector ,建立 的新實例 RootComponentMapping

RootComponentMapping(Type, String, ParameterView)

使用提供的 componentTypeselector ,建立 的新實例 RootComponentMapping

RootComponentMapping(Type, String)

來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs

使用提供的 componentTypeselector ,建立 的新實例 RootComponentMapping

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 專案選取器或元件註冊識別碼。

適用於

RootComponentMapping(Type, String, ParameterView)

來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs
來源:
RootComponentMapping.cs

使用提供的 componentTypeselector ,建立 的新實例 RootComponentMapping

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 專案選取器或註冊識別碼。

parameters
ParameterView

要傳遞至元件的參數。

適用於