// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Mvc.Internal { /// /// Allows fine grained configuration of MVC services. /// public class MvcBuilder : IMvcBuilder { /// /// Initializes a new instance. /// /// The to add services to. public MvcBuilder(IServiceCollection services) { if (services == null) { throw new ArgumentNullException(nameof(services)); } Services = services; } /// public IServiceCollection Services { get; } } }