CustomElementsJSComponentConfigurationExtensions.RegisterCustomElement<TComponent> 方法

定义

public static void RegisterCustomElement<TComponent> (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RegisterCustomElement : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Sub RegisterCustomElement(Of TComponent As IComponent) (configuration As IJSComponentConfiguration, identifier As String)

类型参数

TComponent

参数

identifier
String

适用于