Compartir a través de


RootComponentMappingCollection.Add Método

Definición

Sobrecargas

Add(Type, String)

Agrega una asignación de componentes a la colección.

Add(Type, String, ParameterView)

Agrega una asignación de componentes a la colección.

Add<TComponent>(String)

Agrega una asignación de componentes a la colección.

Add(Type, String)

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

Agrega una asignación de componentes a la colección.

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)

Parámetros

componentType
Type

Tipo de componente. Debe implementar IComponent.

selector
String

Selector de elementos DOM.

Se aplica a

Add(Type, String, ParameterView)

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

Agrega una asignación de componentes a la colección.

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)

Parámetros

componentType
Type

Tipo de componente. Debe implementar IComponent.

selector
String

Selector de elementos DOM.

parameters
ParameterView

Parámetros del componente raíz.

Se aplica a

Add<TComponent>(String)

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

Agrega una asignación de componentes a la colección.

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)

Parámetros de tipo

TComponent

Tipo de componente.

Parámetros

selector
String

Selector de elementos DOM.

Se aplica a