Aracılığıyla paylaş


MvcCoreMvcBuilderExtensions.AddControllersAsServices(IMvcBuilder) Yöntem

Tanım

Bulunan denetleyicileri içinde IServiceCollectionhizmet olarak kaydeder.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddControllersAsServices (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member AddControllersAsServices : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddControllersAsServices (builder As IMvcBuilder) As IMvcBuilder

Parametreler

Döndürülenler

IMvcBuilder.

Şunlara uygulanır