Share via


RazorComponentsEndpointConventionBuilderExtensions.AddAdditionalAssemblies Method

Definition

Adds the given additional assemblies to the component application.

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

Parameters

assemblies
Assembly[]

The Assembly instances to add.

Returns

The RazorComponentsEndpointConventionBuilder.

Remarks

The provided assemblies will be scanned for pages that will be mapped as endpoints.

Applies to