MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Method

Definition

Adds an ApplicationPart to the list of ApplicationParts on the 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

Parameters

assembly
Assembly Assembly

The Assembly of the ApplicationPart.

Returns

Applies to