Condividi tramite


MvcCoreMvcBuilderExtensions.ConfigureApplicationPartManager Metodo

Definizione

Configura l'oggetto ApplicationPartManager dell'oggetto usando l'oggetto PartManager specificato 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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

setupAction
Action<ApplicationPartManager>

Il tipo Action<T>

Restituisce

Oggetto IMvcBuilder.

Si applica a