Sdílet prostřednictvím


MvcCoreMvcBuilderExtensions.ConfigureApplicationPartManager Metoda

Definice

Konfiguruje ApplicationPartManager s PartManager použitím daného Action<T>.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder ConfigureApplicationPartManager (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager> setupAction);
static member ConfigureApplicationPartManager : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function ConfigureApplicationPartManager (builder As IMvcBuilder, setupAction As Action(Of ApplicationPartManager)) As IMvcBuilder

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

setupAction
Action<ApplicationPartManager>

Parametr Action<T> nahraďte názvem sestavy.

Návraty

Hodnota IMvcBuilder

Platí pro