Condividi tramite


MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Metodo

Definizione

Aggiunge un ApplicationPart oggetto all'elenco di ApplicationParts nell'oggetto 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

Parametri

builder
IMvcBuilder

Oggetto IMvcBuilder.

assembly
Assembly

Oggetto Assembly dell'oggetto ApplicationPart.

Restituisce

Oggetto IMvcBuilder.

Si applica a