MvcBuilder Class¶
Allows fine grained configuration of MVC services.
- Namespace
Microsoft.AspNetCore.Mvc.Internal
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Constructors¶
-
MvcBuilder
(Microsoft.Extensions.DependencyInjection.IServiceCollection, Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager)¶ Initializes a new
Microsoft.AspNetCore.Mvc.Internal.MvcBuilder
instance.Arguments: - services (Microsoft.Extensions.DependencyInjection.IServiceCollection) – The
Microsoft.Extensions.DependencyInjection.IServiceCollection
to add services to. - manager (Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager) – The
Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager
of the application.
public MvcBuilder(IServiceCollection services, ApplicationPartManager manager)
- services (Microsoft.Extensions.DependencyInjection.IServiceCollection) – The
-
Properties¶
-
Microsoft.AspNetCore.Mvc.Internal.MvcBuilder.
PartManager
¶ Return type: Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager public ApplicationPartManager PartManager { get; }
-
Microsoft.AspNetCore.Mvc.Internal.MvcBuilder.
Services
¶ Return type: Microsoft.Extensions.DependencyInjection.IServiceCollection public IServiceCollection Services { get; }
-