Condividi tramite


MvcCoreMvcCoreBuilderExtensions.AddApplicationPart Metodo

Definizione

Aggiunge un ApplicationPart oggetto all'elenco di ApplicationParts in PartManager.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddApplicationPart (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, System.Reflection.Assembly assembly);
static member AddApplicationPart : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * System.Reflection.Assembly -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddApplicationPart (builder As IMvcCoreBuilder, assembly As Assembly) As IMvcCoreBuilder

Parametri

builder
IMvcCoreBuilder

Oggetto IMvcCoreBuilder.

assembly
Assembly

Oggetto Assembly dell'oggetto ApplicationPart.

Restituisce

Oggetto IMvcCoreBuilder.

Si applica a