Поделиться через


MvcCoreMvcBuilderExtensions.ConfigureApplicationPartManager Метод

Определение

Настраивает объект ApplicationPartManager объекта с PartManager помощью заданного 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

Параметры

setupAction
Action<ApplicationPartManager>

Конструктор Action<T>

Возвращаемое значение

IMvcBuilder.

Применяется к