Udostępnij za pośrednictwem


MvcCoreMvcBuilderExtensions.AddApplicationPart(IMvcBuilder, Assembly) Metoda

Definicja

Dodaje element ApplicationPart do listy w ApplicationParts pliku 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

Parametry

builder
IMvcBuilder

Element IMvcBuilder.

assembly
Assembly

Element Assembly z .ApplicationPart

Zwraca

Element IMvcBuilder.

Dotyczy