RootComponentMappingCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義專案的集合 RootComponentMapping 。
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
- 繼承
-
RootComponentMappingCollection
- 實作
建構函式
RootComponentMappingCollection() |
定義專案的集合 RootComponentMapping 。 |
屬性
JSComponents |
取得允許 JavaScript 動態新增根元件的組態選項存放區。 |
方法
Add(Type, String, ParameterView) |
將元件對應加入至集合。 |
Add(Type, String) |
將元件對應加入至集合。 |
Add<TComponent>(String) |
將元件對應加入至集合。 |
AddRange(IEnumerable<RootComponentMapping>) |
將專案的集合加入至這個集合。 |
擴充方法
RegisterCustomElement<TComponent>(IJSComponentConfiguration, String) |
定義專案的集合 RootComponentMapping 。 |
RegisterForJavaScript(IJSComponentConfiguration, Type, String, String) |
將指定的元件類型標示為允許從 JavaScript 具現化。 |
RegisterForJavaScript(IJSComponentConfiguration, Type, String) |
將指定的元件類型標示為允許從 JavaScript 具現化。 |
RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String) |
將指定的元件類型標示為允許從 JavaScript 具現化。 |
RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String) |
將指定的元件類型標示為允許從 JavaScript 具現化。 |