JSComponentConfigurationExtensions.RegisterForJavaScript Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
RegisterForJavaScript(IJSComponentConfiguration, Type, String) |
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler. |
RegisterForJavaScript(IJSComponentConfiguration, Type, String, String) |
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler. |
RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String) |
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler. |
RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String) |
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler. |
RegisterForJavaScript(IJSComponentConfiguration, Type, String)
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler.
public static void RegisterForJavaScript (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, Type componentType, string identifier);
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * Type * string -> unit
<Extension()>
Public Sub RegisterForJavaScript (configuration As IJSComponentConfiguration, componentType As Type, identifier As String)
Parametreler
- configuration
- IJSComponentConfiguration
- componentType
- Type
Bileşen türü.
- identifier
- String
JavaScript kodu tarafından kullanılacak bileşen türü için benzersiz tanımlayıcı.
Şunlara uygulanır
RegisterForJavaScript(IJSComponentConfiguration, Type, String, String)
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler.
public static void RegisterForJavaScript (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, Type componentType, string identifier, string javaScriptInitializer);
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * Type * string * string -> unit
<Extension()>
Public Sub RegisterForJavaScript (configuration As IJSComponentConfiguration, componentType As Type, identifier As String, javaScriptInitializer As String)
Parametreler
- configuration
- IJSComponentConfiguration
- componentType
- Type
Bileşen türü.
- identifier
- String
JavaScript kodu tarafından kullanılacak bileşen türü için benzersiz tanımlayıcı.
- javaScriptInitializer
- String
Özel öğeyi kaydetmek için çağrılacak bir JavaScript işlevi için isteğe bağlı bir tanımlayıcı belirtir.
Şunlara uygulanır
RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String)
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler.
public static void RegisterForJavaScript<TComponent> (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Sub RegisterForJavaScript(Of TComponent As IComponent) (configuration As IJSComponentConfiguration, identifier As String)
Tür Parametreleri
- TComponent
Bileşen türü.
Parametreler
- configuration
- IJSComponentConfiguration
- identifier
- String
JavaScript kodu tarafından kullanılacak bileşen türü için benzersiz tanımlayıcı.
Şunlara uygulanır
RegisterForJavaScript<TComponent>(IJSComponentConfiguration, String, String)
Belirtilen bileşen türünü JavaScript'ten örnek oluşturma için izin verildi olarak işaretler.
public static void RegisterForJavaScript<TComponent> (this Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration configuration, string identifier, string javaScriptInitializer) where TComponent : Microsoft.AspNetCore.Components.IComponent;
static member RegisterForJavaScript : Microsoft.AspNetCore.Components.Web.IJSComponentConfiguration * string * string -> unit (requires 'Component :> Microsoft.AspNetCore.Components.IComponent)
<Extension()>
Public Sub RegisterForJavaScript(Of TComponent As IComponent) (configuration As IJSComponentConfiguration, identifier As String, javaScriptInitializer As String)
Tür Parametreleri
- TComponent
Bileşen türü.
Parametreler
- configuration
- IJSComponentConfiguration
- identifier
- String
JavaScript kodu tarafından kullanılacak bileşen türü için benzersiz tanımlayıcı.
- javaScriptInitializer
- String
Özel öğeyi kaydetmek için çağrılacak bir JavaScript işlevi için isteğe bağlı bir tanımlayıcı belirtir.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin