Udostępnij za pośrednictwem


MvcCoreMvcCoreBuilderExtensions.ConfigureApplicationPartManager Metoda

Definicja

Konfiguruje ApplicationPartManagerPartManager element przy użyciu danego Action<T>elementu .

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

Parametry

builder
IMvcCoreBuilder

Element IMvcCoreBuilder.

setupAction
Action<ApplicationPartManager>

Element Action<T>.

Zwraca

Element IMvcCoreBuilder.

Dotyczy