RootComponentMappingCollection Třída
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í.
Definuje kolekci RootComponentMapping položek.
public ref class RootComponentMappingCollection : System::Collections::ObjectModel::Collection<Microsoft::AspNetCore::Components::WebAssembly::Hosting::RootComponentMapping>
public class RootComponentMappingCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping>
public class RootComponentMappingCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping>, Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration
type RootComponentMappingCollection = class
inherit Collection<RootComponentMapping>
type RootComponentMappingCollection = class
inherit Collection<RootComponentMapping>
interface IJSComponentConfiguration
Public Class RootComponentMappingCollection
Inherits Collection(Of RootComponentMapping)
Public Class RootComponentMappingCollection
Inherits Collection(Of RootComponentMapping)
Implements IJSComponentConfiguration
- Dědičnost
-
RootComponentMappingCollection
- Implementuje
Konstruktory
| RootComponentMappingCollection() |
Vlastnosti
| JSComponents |
Získá úložiště možností konfigurace, které umožňují JavaScript přidávat kořenové komponenty dynamicky. |
Metody
| Add(Type, String) |
Přidá do kolekce mapování komponent. |
| Add(Type, String, ParameterView) |
Přidá do kolekce mapování komponent. |
| Add<TComponent>(String) |
Přidá do kolekce mapování komponent. |
| AddRange(IEnumerable<RootComponentMapping>) |
Přidá do této kolekce kolekci položek. |
Metody rozšíření
| RegisterAsCustomElement<TComponent>(IJSComponentConfiguration, String) | |
| RegisterForJavaScript(IJSComponentConfiguration, Type, String) |
Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu. |
| RegisterForJavaScript(IJSComponentConfiguration, Type, String, String) |
Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu. |
| RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String) |
Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu. |
| RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String) |
Označí zadaný typ komponenty jako povolený pro vytvoření instance z JavaScriptu. |