Freigeben über


RootComponentMappingCollection.Add Methode

Definition

Überlädt

Add(Type, String)

Fügt der Auflistung eine Komponentenzuordnung hinzu.

Add(Type, String, ParameterView)

Fügt der Auflistung eine Komponentenzuordnung hinzu.

Add<TComponent>(String)

Fügt der Auflistung eine Komponentenzuordnung hinzu.

Add(Type, String)

Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs

Fügt der Auflistung eine Komponentenzuordnung hinzu.

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)

Parameter

componentType
Type

Der Komponententyp. Muss implementieren IComponent.

selector
String

Die DOM-Elementauswahl.

Gilt für:

Add(Type, String, ParameterView)

Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs

Fügt der Auflistung eine Komponentenzuordnung hinzu.

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)

Parameter

componentType
Type

Der Komponententyp. Muss implementieren IComponent.

selector
String

Die DOM-Elementauswahl.

parameters
ParameterView

Die Parameter für die Stammkomponente.

Gilt für:

Add<TComponent>(String)

Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs
Quelle:
RootComponentMappingCollection.cs

Fügt der Auflistung eine Komponentenzuordnung hinzu.

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)

Typparameter

TComponent

Der Komponententyp.

Parameter

selector
String

Die DOM-Elementauswahl.

Gilt für: