Partager via


RazorComponentsEndpointConventionBuilderExtensions.AddAdditionalAssemblies Méthode

Définition

Ajoute les assemblys supplémentaires donnés à l’application de composant.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddAdditionalAssemblies (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, params System.Reflection.Assembly[] assemblies);
static member AddAdditionalAssemblies : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * System.Reflection.Assembly[] -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddAdditionalAssemblies (builder As RazorComponentsEndpointConventionBuilder, ParamArray assemblies As Assembly()) As RazorComponentsEndpointConventionBuilder

Paramètres

assemblies
Assembly[]

Instances Assembly à ajouter.

Retours

L’RazorComponentsEndpointConventionBuilderopérateur

Remarques

Les assemblys fournis seront analysés pour rechercher les pages qui seront mappées en tant que points de terminaison.

S’applique à