Sdílet prostřednictvím


MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Metoda

Definice

Přidá do ApplicationPart seznamu v objektu ApplicationPartsPartManager.

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

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

assembly
Assembly

The Assembly of the ApplicationPart.

Návraty

Hodnota IMvcBuilder

Platí pro