// 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 System.Collections.Generic; using System.Reflection; namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// /// A context object for . /// public class ApplicationModelProviderContext { public ApplicationModelProviderContext(IEnumerable controllerTypes) { if (controllerTypes == null) { throw new ArgumentNullException(nameof(controllerTypes)); } ControllerTypes = controllerTypes; } public IEnumerable ControllerTypes { get; } /// /// Gets the . /// public ApplicationModel Result { get; } = new ApplicationModel(); } }