Compartir a través de


MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Método

Definición

Agrega un ApplicationPart objeto a la lista de ApplicationParts en .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
<Extension()>
Public Function AddApplicationPart (builder As IMvcBuilder, assembly As Assembly) As IMvcBuilder

Parámetros

assembly
Assembly

Assembly del objeto ApplicationPart.

Devoluciones

IMvcBuilder.

Se aplica a