API Review - Split up .Actions

Abstractions - Core MVC extensibility

Controllers - MVC implementations of .Abstractions and supporting
contracts

Infrastructure - General purpose support APIs. Metadata APIs that don't
fit clearly with a feature or with .Abstraction
This commit is contained in:
Ryan Nowak 2015-09-21 00:15:33 -07:00
parent 00b6e71e31
commit a318c4599a
267 changed files with 346 additions and 297 deletions

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public class ActionDescriptor public class ActionDescriptor
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
/// <summary> /// <summary>
/// Extension methods for <see cref="ActionDescriptor"/>. /// Extension methods for <see cref="ActionDescriptor"/>.

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public class ActionDescriptorProviderContext public class ActionDescriptorProviderContext
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public class ActionInvokerProviderContext public class ActionInvokerProviderContext
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public interface IActionDescriptorProvider public interface IActionDescriptorProvider
{ {

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public interface IActionInvoker public interface IActionInvoker
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public interface IActionInvokerProvider public interface IActionInvokerProvider
{ {

View File

@ -4,7 +4,7 @@
using System; using System;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Abstractions
{ {
public class ParameterDescriptor public class ParameterDescriptor
{ {

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ActionConstraints namespace Microsoft.AspNet.Mvc.ActionConstraints

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ActionConstraints namespace Microsoft.AspNet.Mvc.ActionConstraints

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
@ -43,7 +43,7 @@ namespace Microsoft.AspNet.Mvc
/// </summary> /// </summary>
/// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param> /// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param>
/// <param name="routeData">The <see cref="AspNet.Routing.RouteData"/> for the current request.</param> /// <param name="routeData">The <see cref="AspNet.Routing.RouteData"/> for the current request.</param>
/// <param name="actionDescriptor">The <see cref="Actions.ActionDescriptor"/> for the selected action.</param> /// <param name="actionDescriptor">The <see cref="Abstractions.ActionDescriptor"/> for the selected action.</param>
public ActionContext( public ActionContext(
[NotNull] HttpContext httpContext, [NotNull] HttpContext httpContext,
[NotNull] RouteData routeData, [NotNull] RouteData routeData,
@ -57,7 +57,7 @@ namespace Microsoft.AspNet.Mvc
/// </summary> /// </summary>
/// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param> /// <param name="httpContext">The <see cref="Http.HttpContext"/> for the current request.</param>
/// <param name="routeData">The <see cref="AspNet.Routing.RouteData"/> for the current request.</param> /// <param name="routeData">The <see cref="AspNet.Routing.RouteData"/> for the current request.</param>
/// <param name="actionDescriptor">The <see cref="Actions.ActionDescriptor"/> for the selected action.</param> /// <param name="actionDescriptor">The <see cref="Abstractions.ActionDescriptor"/> for the selected action.</param>
/// <param name="modelState">The <see cref="ModelStateDictionary"/>.</param> /// <param name="modelState">The <see cref="ModelStateDictionary"/>.</param>
public ActionContext( public ActionContext(
[NotNull] HttpContext httpContext, [NotNull] HttpContext httpContext,
@ -72,7 +72,7 @@ namespace Microsoft.AspNet.Mvc
} }
/// <summary> /// <summary>
/// Gets or sets the <see cref="Actions.ActionDescriptor"/> for the selected action. /// Gets or sets the <see cref="Abstractions.ActionDescriptor"/> for the selected action.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The property setter is provided for unit test purposes only. /// The property setter is provided for unit test purposes only.

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using Microsoft.AspNet.Mvc.Actions;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters
{ {

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Filters namespace Microsoft.AspNet.Mvc.Filters

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Actions;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Routing
{ {
/// <summary> /// <summary>
/// Constraints an action to a route key and value. /// Constraints an action to a route key and value.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Routing
{ {
public enum RouteKeyHandling public enum RouteKeyHandling
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
namespace Microsoft.AspNet.Mvc.ApiExplorer namespace Microsoft.AspNet.Mvc.ApiExplorer

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Infrastructure;
namespace Microsoft.AspNet.Mvc.ApiExplorer namespace Microsoft.AspNet.Mvc.ApiExplorer
{ {

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ApiExplorer namespace Microsoft.AspNet.Mvc.ApiExplorer

View File

@ -6,8 +6,9 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Controllers;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;

View File

@ -4,8 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc

View File

@ -6,7 +6,7 @@ using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc
{ {
public class ActionBindingContext public class ActionBindingContext
{ {

View File

@ -7,7 +7,7 @@ namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// Specifies that a controller property should be set with the current /// Specifies that a controller property should be set with the current
/// <see cref="Actions.ActionBindingContext"/> when creating the controller. The property must have a public /// <see cref="ActionBindingContext"/> when creating the controller. The property must have a public
/// set method. /// set method.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
namespace Microsoft.AspNet.Mvc.ActionConstraints namespace Microsoft.AspNet.Mvc.ActionConstraints

View File

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Actions;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc
{ {

View File

@ -5,7 +5,7 @@ namespace Microsoft.AspNet.Mvc.ApiExplorer
{ {
/// <summary> /// <summary>
/// Represents data used to build an <c>ApiDescription</c>, stored as part of the /// Represents data used to build an <c>ApiDescription</c>, stored as part of the
/// <see cref="Actions.ActionDescriptor.Properties"/>. /// <see cref="Abstractions.ActionDescriptor.Properties"/>.
/// </summary> /// </summary>
public class ApiDescriptionActionData public class ApiDescriptionActionData
{ {

View File

@ -6,8 +6,8 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ApplicationModels namespace Microsoft.AspNet.Mvc.ApplicationModels
@ -92,7 +92,7 @@ namespace Microsoft.AspNet.Mvc.ApplicationModels
/// <summary> /// <summary>
/// Gets a set of properties associated with the action. /// Gets a set of properties associated with the action.
/// These properties will be copied to <see cref="ActionDescriptor.Properties"/>. /// These properties will be copied to <see cref="Abstractions.ActionDescriptor.Properties"/>.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Entries will take precedence over entries with the same key in /// Entries will take precedence over entries with the same key in

View File

@ -37,7 +37,7 @@ namespace Microsoft.AspNet.Mvc.ApplicationModels
/// <summary> /// <summary>
/// Gets a set of properties associated with all actions. /// Gets a set of properties associated with all actions.
/// These properties will be copied to <see cref="Actions.ActionDescriptor.Properties"/>. /// These properties will be copied to <see cref="Abstractions.ActionDescriptor.Properties"/>.
/// </summary> /// </summary>
public IDictionary<object, object> Properties { get; } public IDictionary<object, object> Properties { get; }
} }

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ApplicationModels namespace Microsoft.AspNet.Mvc.ApplicationModels

View File

@ -6,8 +6,8 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ApplicationModels namespace Microsoft.AspNet.Mvc.ApplicationModels
@ -91,7 +91,7 @@ namespace Microsoft.AspNet.Mvc.ApplicationModels
/// <summary> /// <summary>
/// Gets a set of properties associated with the controller. /// Gets a set of properties associated with the controller.
/// These properties will be copied to <see cref="ActionDescriptor.Properties"/>. /// These properties will be copied to <see cref="Abstractions.ActionDescriptor.Properties"/>.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// Entries will take precedence over entries with the same key /// Entries will take precedence over entries with the same key

View File

@ -5,10 +5,11 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.ApiExplorer; using Microsoft.AspNet.Mvc.ApiExplorer;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Infrastructure;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc
{ {

View File

@ -2,8 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Internal; using Microsoft.AspNet.Mvc.Internal;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;

View File

@ -4,7 +4,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc

View File

@ -4,8 +4,8 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

View File

@ -4,8 +4,9 @@
using System; using System;
using System.Diagnostics; using System.Diagnostics;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Abstractions;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
[DebuggerDisplay("CA {DisplayName}(RC-{RouteConstraints.Count})")] [DebuggerDisplay("CA {DisplayName}(RC-{RouteConstraints.Count})")]
public class ControllerActionDescriptor : ActionDescriptor public class ControllerActionDescriptor : ActionDescriptor

View File

@ -7,14 +7,16 @@ using System.Diagnostics;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.ApiExplorer; using Microsoft.AspNet.Mvc.ApiExplorer;
using Microsoft.AspNet.Mvc.ApplicationModels; using Microsoft.AspNet.Mvc.ApplicationModels;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Creates instances of <see cref="ControllerActionDescriptor"/> from <see cref="ApplicationModel"/>. /// Creates instances of <see cref="ControllerActionDescriptor"/> from <see cref="ApplicationModel"/>.

View File

@ -3,11 +3,12 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ApplicationModels; using Microsoft.AspNet.Mvc.ApplicationModels;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public class ControllerActionDescriptorProvider : IActionDescriptorProvider public class ControllerActionDescriptorProvider : IActionDescriptorProvider
{ {

View File

@ -11,7 +11,7 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public static class ControllerActionExecutor public static class ControllerActionExecutor
{ {

View File

@ -10,12 +10,13 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Logging; using Microsoft.Framework.Logging;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public class ControllerActionInvoker : FilterActionInvoker public class ControllerActionInvoker : FilterActionInvoker
{ {

View File

@ -4,15 +4,17 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics.Tracing; using System.Diagnostics.Tracing;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Logging; using Microsoft.Framework.Logging;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public class ControllerActionInvokerProvider : IActionInvokerProvider public class ControllerActionInvokerProvider : IActionInvokerProvider
{ {

View File

@ -2,8 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Abstractions;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// A descriptor for model bound properties of a controller. /// A descriptor for model bound properties of a controller.

View File

@ -2,8 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Abstractions;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// A descriptor for method parameters of an action method. /// A descriptor for method parameters of an action method.

View File

@ -6,12 +6,13 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Provides a default implementation of <see cref="IControllerActionArgumentBinder"/>. /// Provides a default implementation of <see cref="IControllerActionArgumentBinder"/>.

View File

@ -2,10 +2,11 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// <see cref="IControllerActivator"/> that uses type activation to create controllers. /// <see cref="IControllerActivator"/> that uses type activation to create controllers.

View File

@ -8,7 +8,7 @@ using System.Reflection;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Default implementation for <see cref="IControllerFactory"/>. /// Default implementation for <see cref="IControllerFactory"/>.

View File

@ -5,10 +5,10 @@ using System;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.Framework.DependencyInjection; using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public class DefaultControllerPropertyActivator : IControllerPropertyActivator public class DefaultControllerPropertyActivator : IControllerPropertyActivator
{ {

View File

@ -5,9 +5,10 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// A <see cref="IControllerTypeProvider"/> that identifies controller types from assemblies /// A <see cref="IControllerTypeProvider"/> that identifies controller types from assemblies

View File

@ -8,16 +8,18 @@ using System.Diagnostics.Tracing;
using System.Linq; using System.Linq;
using System.Runtime.ExceptionServices; using System.Runtime.ExceptionServices;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Internal; using Microsoft.AspNet.Mvc.Internal;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Logging; using Microsoft.Framework.Logging;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public abstract class FilterActionInvoker : IActionInvoker public abstract class FilterActionInvoker : IActionInvoker
{ {

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Provides a dictionary of action arguments. /// Provides a dictionary of action arguments.

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Provides methods to create a controller. /// Provides methods to create a controller.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Provides methods for creation and disposal of controllers. /// Provides methods for creation and disposal of controllers.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
public interface IControllerPropertyActivator public interface IControllerPropertyActivator
{ {

View File

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// Provides methods for discovery of controller types. /// Provides methods for discovery of controller types.

View File

@ -5,7 +5,7 @@ using System;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// A <see cref="IControllerActivator"/> that retrieves controllers as services from the request's /// A <see cref="IControllerActivator"/> that retrieves controllers as services from the request's

View File

@ -6,7 +6,7 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Controllers
{ {
/// <summary> /// <summary>
/// A <see cref="IControllerTypeProvider"/> with a fixed set of types that are used as controllers. /// A <see cref="IControllerTypeProvider"/> with a fixed set of types that are used as controllers.

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;

View File

@ -3,7 +3,6 @@
using System; using System;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;

View File

@ -2,13 +2,13 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Diagnostics.Tracing;
using System.Linq;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.ApplicationModels; using Microsoft.AspNet.Mvc.ApplicationModels;
using Microsoft.AspNet.Mvc.Controllers;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Internal; using Microsoft.AspNet.Mvc.Internal;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Metadata; using Microsoft.AspNet.Mvc.ModelBinding.Metadata;

View File

@ -1,7 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc

View File

@ -4,7 +4,6 @@
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;

View File

@ -3,9 +3,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.ApiExplorer; using Microsoft.AspNet.Mvc.ApiExplorer;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;

View File

@ -1,7 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc

View File

@ -8,7 +8,7 @@ using System.Runtime.Remoting.Messaging;
using System.Threading; using System.Threading;
#endif #endif
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public class ActionBindingContextAccessor : IActionBindingContextAccessor public class ActionBindingContextAccessor : IActionBindingContextAccessor
{ {

View File

@ -4,12 +4,11 @@
#if DNX451 #if DNX451
using System.Runtime.Remoting; using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging; using System.Runtime.Remoting.Messaging;
using Microsoft.AspNet.Mvc.Actions;
#else #else
using System.Threading; using System.Threading;
#endif #endif
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public class ActionContextAccessor : IActionContextAccessor public class ActionContextAccessor : IActionContextAccessor
{ {

View File

@ -2,9 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// A cached collection of <see cref="ActionDescriptor" />. /// A cached collection of <see cref="ActionDescriptor" />.

View File

@ -3,8 +3,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Abstractions;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public class ActionInvokerFactory : IActionInvokerFactory public class ActionInvokerFactory : IActionInvokerFactory
{ {

View File

@ -6,7 +6,7 @@ using System;
using System.Runtime.Serialization; using System.Runtime.Serialization;
#endif #endif
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// An exception which indicates multiple matches in action selection. /// An exception which indicates multiple matches in action selection.

View File

@ -4,9 +4,10 @@
using System; using System;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// Default implementation for ActionDescriptors. /// Default implementation for ActionDescriptors.

View File

@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
@ -13,7 +14,7 @@ using Microsoft.AspNet.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Logging; using Microsoft.Framework.Logging;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public class DefaultActionSelector : IActionSelector public class DefaultActionSelector : IActionSelector
{ {

View File

@ -8,7 +8,7 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.Dnx.Runtime; using Microsoft.Dnx.Runtime;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public class DefaultAssemblyProvider : IAssemblyProvider public class DefaultAssemblyProvider : IAssemblyProvider
{ {

View File

@ -6,7 +6,7 @@ using System.Collections.Concurrent;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// Caches <see cref="ObjectFactory"/> instances produced by /// Caches <see cref="ObjectFactory"/> instances produced by

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public interface IActionBindingContextAccessor public interface IActionBindingContextAccessor
{ {

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public interface IActionContextAccessor public interface IActionContextAccessor
{ {

View File

@ -1,10 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// Provides the currently cached collection of <see cref="ActionDescriptor"/>. /// Provides the currently cached collection of <see cref="Abstractions.ActionDescriptor"/>.
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// The default implementation, does not update the cache, it is up to the user /// The default implementation, does not update the cache, it is up to the user

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public interface IActionHttpMethodProvider public interface IActionHttpMethodProvider
{ {

View File

@ -1,7 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions using Microsoft.AspNet.Mvc.Abstractions;
namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public interface IActionInvokerFactory public interface IActionInvokerFactory
{ {

View File

@ -2,9 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public interface IActionSelector public interface IActionSelector
{ {

View File

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// Specifies the contract for discovering assemblies that may contain Mvc specific types such as controllers, /// Specifies the contract for discovering assemblies that may contain Mvc specific types such as controllers,

View File

@ -1,7 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Actions using Microsoft.AspNet.Mvc.Routing;
namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// An interface for metadata which provides <see cref="RouteDataActionConstraint"/> values /// An interface for metadata which provides <see cref="RouteDataActionConstraint"/> values

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Mvc.Routing namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// Interface for attributes which can supply a route template for attribute routing. /// Interface for attributes which can supply a route template for attribute routing.

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// Caches <see cref="Microsoft.Framework.DependencyInjection.ObjectFactory"/> instances produced by /// Caches <see cref="Microsoft.Framework.DependencyInjection.ObjectFactory"/> instances produced by

View File

@ -5,6 +5,7 @@ using System;
using System.Diagnostics.Tracing; using System.Diagnostics.Tracing;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Internal; using Microsoft.AspNet.Mvc.Internal;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
@ -12,7 +13,7 @@ using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Logging; using Microsoft.Framework.Logging;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
public class MvcRouteHandler : IRouter public class MvcRouteHandler : IRouter
{ {

View File

@ -3,9 +3,10 @@
using System; using System;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// An attribute which specifies a required route value for an action or controller. /// An attribute which specifies a required route value for an action or controller.

View File

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
namespace Microsoft.AspNet.Mvc.Actions namespace Microsoft.AspNet.Mvc.Infrastructure
{ {
/// <summary> /// <summary>
/// A <see cref="IAssemblyProvider"/> with a fixed set of candidate assemblies. /// A <see cref="IAssemblyProvider"/> with a fixed set of candidate assemblies.

View File

@ -5,7 +5,8 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Controllers;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.DependencyInjection.Extensions; using Microsoft.Framework.DependencyInjection.Extensions;

View File

@ -6,9 +6,9 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Internal; using Microsoft.AspNet.Mvc.Internal;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

View File

@ -3,7 +3,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
using Microsoft.AspNet.Mvc.ViewFeatures; using Microsoft.AspNet.Mvc.ViewFeatures;

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc

View File

@ -7,7 +7,8 @@ using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
#endif #endif
using System.Diagnostics; using System.Diagnostics;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Mvc.Internal.DecisionTree; using Microsoft.AspNet.Mvc.Internal.DecisionTree;
namespace Microsoft.AspNet.Mvc.Routing namespace Microsoft.AspNet.Mvc.Routing

View File

@ -2,8 +2,8 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Infrastructure;
namespace Microsoft.AspNet.Mvc.Routing namespace Microsoft.AspNet.Mvc.Routing
{ {

View File

@ -5,8 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Abstractions;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Infrastructure;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Template; using Microsoft.AspNet.Routing.Template;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

Some files were not shown because too many files have changed in this diff Show More