Dela via


MvcCoreMvcBuilderExtensions.ConfigureApplicationPartManager Method

Definition

Configures the ApplicationPartManager of the PartManager using the given 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

Parameters

builder
IMvcBuilder

The IMvcBuilder.

Returns

The IMvcBuilder.

Applies to