共用方式為


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

適用於