MvcCoreMvcCoreBuilderExtensions.AddApplicationPart 方法

定义

ApplicationPart将 添加到 上的 PartManager列表ApplicationParts

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

参数

返回

IMvcCoreBuilder

适用于