共用方式為


RazorComponentsEndpointConventionBuilderExtensions.AddAdditionalAssemblies 方法

定義

將指定的其他元件新增至元件應用程式。

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

參數

assemblies
Assembly[]

Assembly 加入的實例。

傳回

RazorComponentsEndpointConventionBuilder

備註

提供的元件將會掃描要對應為端點的頁面。

適用於