RootComponentMapping Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| RootComponentMapping(Type, String) |
Vytvoří novou instanci RootComponentMapping s poskytnutým |
| RootComponentMapping(Type, String, ParameterView) |
Vytvoří novou instanci RootComponentMapping s poskytnutým |
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ě.