Share via


RootComponentMappingCollection.Add メソッド

定義

オーバーロード

Add(Type, String)

コンポーネント マッピングをコレクションに追加します。

Add(Type, String, ParameterView)

コンポーネント マッピングをコレクションに追加します。

Add<TComponent>(String)

コンポーネント マッピングをコレクションに追加します。

Add(Type, String)

ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs

コンポーネント マッピングをコレクションに追加します。

public:
 void Add(Type ^ componentType, System::String ^ selector);
public void Add (Type componentType, string selector);
override this.Add : Type * string -> unit
Public Sub Add (componentType As Type, selector As String)

パラメーター

componentType
Type

コンポーネントの種類。 を実装 IComponentする必要があります。

selector
String

DOM 要素セレクター。

適用対象

Add(Type, String, ParameterView)

ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs

コンポーネント マッピングをコレクションに追加します。

public:
 void Add(Type ^ componentType, System::String ^ selector, Microsoft::AspNetCore::Components::ParameterView parameters);
public void Add (Type componentType, string selector, Microsoft.AspNetCore.Components.ParameterView parameters);
override this.Add : Type * string * Microsoft.AspNetCore.Components.ParameterView -> unit
Public Sub Add (componentType As Type, selector As String, parameters As ParameterView)

パラメーター

componentType
Type

コンポーネントの種類。 を実装 IComponentする必要があります。

selector
String

DOM 要素セレクター。

parameters
ParameterView

ルート コンポーネントへのパラメーター。

適用対象

Add<TComponent>(String)

ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs
ソース:
RootComponentMappingCollection.cs

コンポーネント マッピングをコレクションに追加します。

public:
generic <typename TComponent>
 where TComponent : Microsoft::AspNetCore::Components::IComponent void Add(System::String ^ selector);
public void Add<TComponent> (string selector) where TComponent : Microsoft.AspNetCore.Components.IComponent;
override this.Add : string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
Public Sub Add(Of TComponent As IComponent) (selector As String)

型パラメーター

TComponent

コンポーネントの種類。

パラメーター

selector
String

DOM 要素セレクター。

適用対象