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


MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Метод

Определение

Добавляет в ApplicationPart список в ApplicationParts .PartManager

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddApplicationPart (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, System.Reflection.Assembly assembly);
static member AddApplicationPart : Microsoft.Extensions.DependencyInjection.IMvcBuilder * System.Reflection.Assembly -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddApplicationPart (builder As IMvcBuilder, assembly As Assembly) As IMvcBuilder

Параметры

assembly
Assembly

Assembly выражения ApplicationPart.

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

IMvcBuilder.

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