WebAssemblyRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveWebAssemblyRenderMode Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengonfigurasi aplikasi untuk mendukung InteractiveWebAssembly mode render.
public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveWebAssemblyRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions>? callback = default);
static member AddInteractiveWebAssemblyRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveWebAssemblyRenderMode (builder As RazorComponentsEndpointConventionBuilder, Optional callback As Action(Of WebAssemblyComponentsEndpointOptions) = Nothing) As RazorComponentsEndpointConventionBuilder
Parameter
- callback
- Action<WebAssemblyComponentsEndpointOptions>
Mengembalikan
RazorComponentsEndpointConventionBuilder.