RootComponentMapping Struct

Definition

Defines a mapping between a root IComponent and a DOM element selector.

C#
public readonly struct RootComponentMapping
Inheritance
RootComponentMapping

Constructors

RootComponentMapping(Type, String, ParameterView)

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

RootComponentMapping(Type, String)

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

Properties

ComponentType

Gets the component type.

Parameters

Gets the parameters to pass to the root component.

Selector

Gets the DOM element selector.

Applies to

Product Versions
ASP.NET Core 3.1, 5.0, 6.0, 7.0, 8.0, 9.0