RootComponentMappingCollection.Add Method

Definition

Overloads

Add(Type, String)

Adds a component mapping to the collection.

Add(Type, String, ParameterView)

Adds a component mapping to the collection.

Add<TComponent>(String)

Adds a component mapping to the collection.

Add(Type, String)

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

Adds a component mapping to the 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)

Parameters

componentType
Type

The component type. Must implement IComponent.

selector
String

The DOM element selector.

Applies to

Add(Type, String, ParameterView)

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

Adds a component mapping to the 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)

Parameters

componentType
Type

The component type. Must implement IComponent.

selector
String

The DOM element selector.

parameters
ParameterView

The parameters to the root component.

Applies to

Add<TComponent>(String)

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

Adds a component mapping to the 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)

Type Parameters

TComponent

The component type.

Parameters

selector
String

The DOM element selector.

Applies to