File: DependencyInjection\IMvcBuilder.cs
Web Access
Project: src\src\Mvc\Mvc.Core\src\Microsoft.AspNetCore.Mvc.Core.csproj (Microsoft.AspNetCore.Mvc.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.AspNetCore.Mvc.ApplicationParts;
 
namespace Microsoft.Extensions.DependencyInjection;
 
/// <summary>
/// An interface for configuring MVC services.
/// </summary>
public interface IMvcBuilder
{
    /// <summary>
    /// Gets the <see cref="IServiceCollection"/> where MVC services are configured.
    /// </summary>
    IServiceCollection Services { get; }
 
    /// <summary>
    /// Gets the <see cref="ApplicationPartManager"/> where <see cref="ApplicationPart"/>s
    /// are configured.
    /// </summary>
    ApplicationPartManager PartManager { get; }
}