MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) 方法

定义

ApplicationPart将 添加到 上的 PartManager列表ApplicationParts

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

参数

返回

IMvcBuilder

适用于