RootComponentMapping Konstruktory

Definice

Přetížení

RootComponentMapping(Type, String)

Vytvoří novou instanci RootComponentMapping s poskytnutým componentType a selector.

RootComponentMapping(Type, String, ParameterView)

Vytvoří novou instanci RootComponentMapping s poskytnutým componentType a selector.

RootComponentMapping(Type, String)

Vytvoří novou instanci RootComponentMapping s poskytnutým componentType a selector.

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)

Parametry

componentType
Type

Typ komponenty. Musí implementovat IComponent.

selector
String

Selektor elementu DOM nebo ID registrace komponenty pro komponentu.

Platí pro

RootComponentMapping(Type, String, ParameterView)

Vytvoří novou instanci RootComponentMapping s poskytnutým componentType a selector.

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)

Parametry

componentType
Type

Typ komponenty. Musí implementovat IComponent.

selector
String

Selektor elementu DOM nebo ID registrace komponenty.

parameters
ParameterView

Parametry, které se mají předat komponentě.

Platí pro