// 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. namespace System.Web.Http.Controllers { /// /// If a controller is decorated with an attribute with this interface, then it gets invoked /// to initialize the controller settings. /// public interface IControllerConfiguration { /// /// Callback invoked to set per-controller overrides for this controllerDescriptor. /// /// The controller settings to initialize. /// The controller descriptor. Note that the can be associated with the derived controller type given that is inherited. void Initialize(HttpControllerSettings controllerSettings, HttpControllerDescriptor controllerDescriptor); } }