共用方式為


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>
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)

將元件對應加入至集合。

Add(Type, String, ParameterView)

將元件對應加入至集合。

Add<TComponent>(String)

將元件對應加入至集合。

AddRange(IEnumerable<RootComponentMapping>)

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

擴充方法

RegisterCustomElement<TComponent>(IJSComponentConfiguration, String)

定義專案的集合 RootComponentMapping

RegisterForJavaScript(IJSComponentConfiguration, Type, String)

將指定的元件類型標示為允許從 JavaScript 具現化。

RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)

將指定的元件類型標示為允許從 JavaScript 具現化。

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)

將指定的元件類型標示為允許從 JavaScript 具現化。

RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)

將指定的元件類型標示為允許從 JavaScript 具現化。

適用於