Share via


RootComponentMapping Constructors

Definition

Overloads

RootComponentMapping(Type, String)

Creates a new instance of RootComponentMapping with the provided componentType and selector.

RootComponentMapping(Type, String, ParameterView)

Creates a new instance of RootComponentMapping with the provided componentType and selector.

RootComponentMapping(Type, String)

Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs

Creates a new instance of RootComponentMapping with the provided componentType and selector.

public:
 RootComponentMapping(Type ^ componentType, System::String ^ selector);
public RootComponentMapping (Type componentType, string selector);
new Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping : Type * string -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping
Public Sub New (componentType As Type, selector As String)

Parameters

componentType
Type

The component type. Must implement IComponent.

selector
String

The DOM element selector or component registration id for the component.

Applies to

RootComponentMapping(Type, String, ParameterView)

Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs
Source:
RootComponentMapping.cs

Creates a new instance of RootComponentMapping with the provided componentType and selector.

public:
 RootComponentMapping(Type ^ componentType, System::String ^ selector, Microsoft::AspNetCore::Components::ParameterView parameters);
public RootComponentMapping (Type componentType, string selector, Microsoft.AspNetCore.Components.ParameterView parameters);
new Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping : Type * string * Microsoft.AspNetCore.Components.ParameterView -> Microsoft.AspNetCore.Components.WebAssembly.Hosting.RootComponentMapping
Public Sub New (componentType As Type, selector As String, parameters As ParameterView)

Parameters

componentType
Type

The component type. Must implement IComponent.

selector
String

The DOM element selector or registration id for the component.

parameters
ParameterView

The parameters to pass to the component.

Applies to