語言

RootComponentMappingCollection 類別

定義

定義專案的集合 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>, Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration
public class RootComponentMappingCollection : System.Collections.ObjectModel.Collection<Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping>
type RootComponentMappingCollection = class
    inherit Collection<RootComponentMapping>
    interface IJSComponentConfiguration
type RootComponentMappingCollection = class
    inherit Collection<RootComponentMapping>
Public Class RootComponentMappingCollection
Inherits Collection(Of RootComponentMapping)
Implements IJSComponentConfiguration
Public Class RootComponentMappingCollection
Inherits Collection(Of RootComponentMapping)
繼承
RootComponentMappingCollection
實作

建構函式

名稱 Description
RootComponentMappingCollection()

定義專案的集合 RootComponentMapping 。

屬性

名稱 Description
JSComponents

取得允許 JavaScript 動態新增根元件的組態選項存放區。

方法

名稱 Description
Add(Type, String, ParameterView)

將元件對應加入至集合。

Add(Type, String)

將元件對應加入至集合。

Add<TComponent>(String)

將元件對應加入至集合。

AddRange(IEnumerable<RootComponentMapping>)

將專案的集合加入至這個集合。

擴充方法

名稱 Description
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 具現化。

適用於