MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Methode

Definition

Fügt der Liste von ApplicationParts im PartManagereine ApplicationPart hinzu.

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

Parameter

builder
IMvcBuilder

Die IMvcBuilder.

assembly
Assembly

Das Assembly des ApplicationPart.

Gibt zurück

Die IMvcBuilder.

Gilt für: