Partager via


MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Méthode

Définition

Ajoute un ApplicationPart à la liste de ApplicationParts sur le 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

Paramètres

builder
IMvcBuilder

L’IMvcBuilderopérateur

Retours

L’IMvcBuilderopérateur

S’applique à