RootComponentMapping Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RootComponentMapping(Type, String) |
Creates a new instance of RootComponentMapping with the provided |
RootComponentMapping(Type, String, ParameterView) |
Creates a new instance of RootComponentMapping with the provided |
RootComponentMapping(Type, String)
- Source:
- RootComponentMapping.cs
- 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
- 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.