RootComponentMapping 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RootComponentMapping(Type, String) |
使用提供的 |
RootComponentMapping(Type, String, ParameterView) |
使用提供的 |
RootComponentMapping(Type, String)
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
使用提供的 componentType
和 selector
创建 的新实例RootComponentMapping。
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)
参数
- componentType
- Type
组件类型。 必须实现 IComponent。
- selector
- String
组件的 DOM 元素选择器或组件注册 ID。
适用于
RootComponentMapping(Type, String, ParameterView)
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
- Source:
- RootComponentMapping.cs
使用提供的 componentType
和 selector
创建 的新实例RootComponentMapping。
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)
参数
- componentType
- Type
组件类型。 必须实现 IComponent。
- selector
- String
组件的 DOM 元素选择器或注册 ID。
- parameters
- ParameterView
要传递给组件的参数。