다음을 통해 공유


MvcCoreMvcCoreBuilderExtensions.AddApplicationPart 메서드

정의

ApplicationPart 의 목록에 ApplicationParts 를 추가합니다PartManager.

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

매개 변수

assembly
Assembly

AssemblyApplicationPart입니다.

반환

IMvcCoreBuilder

적용 대상