Partager via


RootComponentMappingCollection.Add Méthode

Définition

Surcharges

Add(Type, String)

Ajoute un mappage de composant à la collection.

Add(Type, String, ParameterView)

Ajoute un mappage de composant à la collection.

Add<TComponent>(String)

Ajoute un mappage de composant à la collection.

Add(Type, String)

Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs

Ajoute un mappage de composant à la collection.

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)

Paramètres

componentType
Type

Type de composant. Doit implémenter IComponent.

selector
String

Sélecteur d’élément DOM.

S’applique à

Add(Type, String, ParameterView)

Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs

Ajoute un mappage de composant à la collection.

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)

Paramètres

componentType
Type

Type de composant. Doit implémenter IComponent.

selector
String

Sélecteur d’élément DOM.

parameters
ParameterView

Paramètres du composant racine.

S’applique à

Add<TComponent>(String)

Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs
Source:
RootComponentMappingCollection.cs

Ajoute un mappage de composant à la collection.

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)

Paramètres de type

TComponent

Type de composant.

Paramètres

selector
String

Sélecteur d’élément DOM.

S’applique à