Reorganize MVC namespaces

This commit is contained in:
Ryan Nowak 2015-09-01 22:20:48 -07:00
parent a2e53e8d1a
commit 229724c4ea
589 changed files with 1019 additions and 660 deletions

View File

@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.JsonPatch; using Microsoft.AspNet.JsonPatch;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionResults;
namespace MvcSample.Web.Controllers namespace MvcSample.Web.Controllers
{ {

View File

@ -3,6 +3,7 @@
using System; using System;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web.Filters namespace MvcSample.Web.Filters
{ {

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.
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web.Filters namespace MvcSample.Web.Filters
{ {

View File

@ -3,7 +3,8 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web.Filters namespace MvcSample.Web.Filters
{ {

View File

@ -1,7 +1,8 @@
// 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; using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace MvcSample.Web namespace MvcSample.Web

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.Security.Claims; using System.Security.Claims;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web namespace MvcSample.Web
{ {

View File

@ -2,7 +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; using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters;
using MvcSample.Web.Models; using MvcSample.Web.Models;
namespace MvcSample.Web.Filters namespace MvcSample.Web.Filters

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.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web namespace MvcSample.Web
{ {

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.
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web.Filters namespace MvcSample.Web.Filters
{ {

View File

@ -3,6 +3,8 @@
using System; using System;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters;
using MvcSample.Web.Filters; using MvcSample.Web.Filters;
using MvcSample.Web.Models; using MvcSample.Web.Models;

View File

@ -4,6 +4,8 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions;
using MvcSample.Web.Models; using MvcSample.Web.Models;
namespace MvcSample.Web.RandomNameSpace namespace MvcSample.Web.RandomNameSpace

View File

@ -8,6 +8,7 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Rendering; using Microsoft.AspNet.Mvc.Rendering;
using MvcSample.Web.Models; using MvcSample.Web.Models;

View File

@ -4,6 +4,7 @@
using System; using System;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.WebApiCompatShim; using Microsoft.AspNet.Mvc.WebApiCompatShim;
using MvcSample.Web.Models; using MvcSample.Web.Models;

View File

@ -4,6 +4,7 @@
using System.Diagnostics; using System.Diagnostics;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Filters;
namespace MvcSample.Web namespace MvcSample.Web
{ {

View File

@ -2,6 +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.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionResults;
using TagHelperSample.Web.Services; using TagHelperSample.Web.Services;
namespace TagHelperSample.Web.Controllers namespace TagHelperSample.Web.Controllers
@ -18,14 +19,14 @@ namespace TagHelperSample.Web.Controllers
// Sample exhibiting the use of nested cache tag helpers with custom user expiration triggers. // Sample exhibiting the use of nested cache tag helpers with custom user expiration triggers.
// Trigger expirations cascade, expiration of the inner tag helper's content either due to absolute or sliding // Trigger expirations cascade, expiration of the inner tag helper's content either due to absolute or sliding
// expiration or due to a user specified expiration trigger would cause the outer cache tag helper to also expire. // expiration or due to a user specified expiration trigger would cause the outer cache tag helper to also expire.
public ViewResult Index() public IActionResult Index()
{ {
ViewData["Title"] = "Movies"; ViewData["Title"] = "Movies";
return View(); return View();
} }
[HttpPost] [HttpPost]
public ViewResult UpdateMovieRatings() public IActionResult UpdateMovieRatings()
{ {
_moviesService.UpdateMovieRating(); _moviesService.UpdateMovieRating();
@ -34,7 +35,7 @@ namespace TagHelperSample.Web.Controllers
} }
[HttpPost] [HttpPost]
public ViewResult UpdateCriticsQuotes() public IActionResult UpdateCriticsQuotes()
{ {
_moviesService.UpdateCriticsQuotes(); _moviesService.UpdateCriticsQuotes();

View File

@ -4,7 +4,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
/// <summary> /// <summary>
/// Context for <see cref="IActionConstraint"/> execution. /// Context for <see cref="IActionConstraint"/> execution.

View File

@ -3,6 +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.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ActionConstraints namespace Microsoft.AspNet.Mvc.ActionConstraints

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.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
/// <summary> /// <summary>
/// A candidate action for action selection. /// A candidate action for action selection.

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 namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
/// <summary> /// <summary>
/// Supports conditional logic to determine whether or not an associated action is valid to be selected /// Supports conditional logic to determine whether or not an associated action is valid to be selected

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 namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
/// <summary> /// <summary>
/// A marker interface that identifies a type as metadata for an <see cref="IActionConstraint"/>. /// A marker interface that identifies a type as metadata for an <see cref="IActionConstraint"/>.

View File

@ -2,6 +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.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
@ -42,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="Mvc.ActionDescriptor"/> for the selected action.</param> /// <param name="actionDescriptor">The <see cref="Actions.ActionDescriptor"/> for the selected action.</param>
public ActionContext( public ActionContext(
[NotNull] HttpContext httpContext, [NotNull] HttpContext httpContext,
[NotNull] RouteData routeData, [NotNull] RouteData routeData,
@ -56,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="Mvc.ActionDescriptor"/> for the selected action.</param> /// <param name="actionDescriptor">The <see cref="Actions.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,
@ -71,7 +72,7 @@ namespace Microsoft.AspNet.Mvc
} }
/// <summary> /// <summary>
/// Gets or sets the <see cref="Mvc.ActionDescriptor"/> for the selected action. /// Gets or sets the <see cref="Actions.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

@ -3,9 +3,11 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Routing; using Microsoft.AspNet.Mvc.Routing;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Actions
{ {
public class ActionDescriptor public class ActionDescriptor
{ {

View File

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

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Actions
{ {
/// <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 namespace Microsoft.AspNet.Mvc.Actions
{ {
public enum RouteKeyHandling public enum RouteKeyHandling
{ {

View File

@ -4,9 +4,10 @@
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 namespace Microsoft.AspNet.Mvc.Filters
{ {
public class ActionExecutedContext : FilterContext public class ActionExecutedContext : FilterContext
{ {

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.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public class ActionExecutingContext : FilterContext public class ActionExecutingContext : FilterContext
{ {

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public delegate Task<ActionExecutedContext> ActionExecutionDelegate(); public delegate Task<ActionExecutedContext> ActionExecutionDelegate();
} }

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.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public class AuthorizationContext : FilterContext public class AuthorizationContext : FilterContext
{ {

View File

@ -4,9 +4,10 @@
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 namespace Microsoft.AspNet.Mvc.Filters
{ {
public class ExceptionContext : FilterContext public class ExceptionContext : FilterContext
{ {

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.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public abstract class FilterContext : ActionContext public abstract class FilterContext : ActionContext
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
/// <summary> /// <summary>
/// Descriptor for an <see cref="IFilterMetadata"/>. /// Descriptor for an <see cref="IFilterMetadata"/>.

View File

@ -4,7 +4,7 @@
using System.Diagnostics; using System.Diagnostics;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
// Used to flow filters back from the FilterProviderContext // Used to flow filters back from the FilterProviderContext
[DebuggerDisplay("FilterItem: {Filter}")] [DebuggerDisplay("FilterItem: {Filter}")]

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.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public class FilterProviderContext public class FilterProviderContext
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IActionFilter : IFilterMetadata public interface IActionFilter : IFilterMetadata
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IAsyncActionFilter : IFilterMetadata public interface IAsyncActionFilter : IFilterMetadata
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IAsyncAuthorizationFilter : IFilterMetadata public interface IAsyncAuthorizationFilter : IFilterMetadata
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IAsyncExceptionFilter : IFilterMetadata public interface IAsyncExceptionFilter : IFilterMetadata
{ {

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
/// <summary> /// <summary>
/// A filter which surrounds execution of model binding, the action (and filters) and the action result /// A filter which surrounds execution of model binding, the action (and filters) and the action result

View File

@ -4,7 +4,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IAsyncResultFilter : IFilterMetadata public interface IAsyncResultFilter : IFilterMetadata
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IAuthorizationFilter : IFilterMetadata public interface IAuthorizationFilter : IFilterMetadata
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IExceptionFilter : IFilterMetadata public interface IExceptionFilter : IFilterMetadata
{ {

View File

@ -4,7 +4,7 @@
using System; using System;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IFilterFactory : IFilterMetadata public interface IFilterFactory : IFilterMetadata
{ {

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 namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IFilterMetadata public interface IFilterMetadata
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.Core namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IFilterProvider public interface IFilterProvider
{ {

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 namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IOrderedFilter : IFilterMetadata public interface IOrderedFilter : IFilterMetadata
{ {

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
/// <summary> /// <summary>
/// A filter which surrounds execution of model binding, the action (and filters) and the action result /// A filter which surrounds execution of model binding, the action (and filters) and the action result

View File

@ -3,7 +3,7 @@
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public interface IResultFilter : IFilterMetadata public interface IResultFilter : IFilterMetadata
{ {

View File

@ -4,8 +4,9 @@
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 namespace Microsoft.AspNet.Mvc.Filters
{ {
/// <summary> /// <summary>
/// A context for resource filters. /// A context for resource filters.

View File

@ -2,10 +2,12 @@
// 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.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
/// <summary> /// <summary>
/// A context for resource filters. Allows modification of services and values used for /// A context for resource filters. Allows modification of services and values used for

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
/// <summary> /// <summary>
/// A delegate which asyncronously returns a <see cref="ResourceExecutedContext"/>. /// A delegate which asyncronously returns a <see cref="ResourceExecutedContext"/>.

View File

@ -4,9 +4,10 @@
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 namespace Microsoft.AspNet.Mvc.Filters
{ {
public class ResultExecutedContext : FilterContext public class ResultExecutedContext : FilterContext
{ {

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.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public class ResultExecutingContext : FilterContext public class ResultExecutingContext : FilterContext
{ {

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Filters
{ {
public delegate Task<ResultExecutedContext> ResultExecutionDelegate(); public delegate Task<ResultExecutedContext> ResultExecutionDelegate();
} }

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Formatters
{ {
/// <summary> /// <summary>
/// Reads an object from the request body. /// Reads an object from the request body.

View File

@ -1,12 +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.
using System;
using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Formatters
{ {
/// <summary> /// <summary>
/// Writes an object to the output stream. /// Writes an object to the output stream.

View File

@ -6,7 +6,7 @@ using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Formatters
{ {
/// <summary> /// <summary>
/// A context object used by an input formatter for deserializing the request body into an object. /// A context object used by an input formatter for deserializing the request body into an object.

View File

@ -6,7 +6,7 @@ using System.Text;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.Formatters
{ {
/// <summary> /// <summary>
/// Represents information used by a formatter for participating in /// Represents information used by a formatter for participating in

View File

@ -2,6 +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.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.Actions;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc
{ {

View File

@ -3,6 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.ModelBinding.Validation; using Microsoft.AspNet.Mvc.ModelBinding.Validation;
namespace Microsoft.AspNet.Mvc.ModelBinding namespace Microsoft.AspNet.Mvc.ModelBinding

View File

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

View File

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

View File

@ -2,6 +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.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ApiExplorer namespace Microsoft.AspNet.Mvc.ApiExplorer

View File

@ -1,6 +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.
using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc.ApiExplorer namespace Microsoft.AspNet.Mvc.ApiExplorer

View File

@ -6,6 +6,10 @@ 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.ActionConstraints;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Template; using Microsoft.AspNet.Routing.Template;

View File

@ -4,6 +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.Routing; using Microsoft.AspNet.Mvc.Routing;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

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="ActionBindingContext"/> when creating the controller. The property must have a public /// <see cref="Actions.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,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; using System;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
/// <summary> /// <summary>
/// Base class for attributes which can implement conditional logic to enable or disable an action /// Base class for attributes which can implement conditional logic to enable or disable an action

View File

@ -8,7 +8,7 @@ using System.Linq;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Primitives; using Microsoft.Framework.Primitives;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
public class HttpMethodConstraint : IActionConstraint public class HttpMethodConstraint : IActionConstraint
{ {

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 namespace Microsoft.AspNet.Mvc.ActionConstraints
{ {
/// <summary> /// <summary>
/// An <see cref="IActionConstraint"/> constraint that identifies a type which can be used to select an action /// An <see cref="IActionConstraint"/> constraint that identifies a type which can be used to select an action

View File

@ -2,6 +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.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 @@ using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="ObjectResult"/> that when executed will produce a Bad Request (400) response. /// An <see cref="ObjectResult"/> that when executed will produce a Bad Request (400) response.

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// A <see cref="HttpStatusCodeResult"/> that when /// A <see cref="HttpStatusCodeResult"/> that when

View File

@ -4,9 +4,10 @@
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.ActionResults
{ {
public class ChallengeResult : ActionResult public class ChallengeResult : ActionResult
{ {

View File

@ -4,10 +4,12 @@
using System.Text; using System.Text;
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.Internal;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
public class ContentResult : ActionResult public class ContentResult : ActionResult
{ {

View File

@ -4,12 +4,13 @@
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.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="ActionResult"/> that returns a Created (201) response with a Location header. /// An <see cref="ActionResult"/> that returns a Created (201) response with a Location header.

View File

@ -4,12 +4,13 @@
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.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="ActionResult"/> that returns a Created (201) response with a Location header. /// An <see cref="ActionResult"/> that returns a Created (201) response with a Location header.

View File

@ -3,10 +3,11 @@
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;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="ActionResult"/> that returns a Created (201) response with a Location header. /// An <see cref="ActionResult"/> that returns a Created (201) response with a Location header.

View File

@ -1,9 +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.
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that when executed will /// Represents an <see cref="ActionResult"/> that when executed will

View File

@ -8,7 +8,7 @@ using Microsoft.AspNet.Http;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that when executed will /// Represents an <see cref="ActionResult"/> that when executed will

View File

@ -1,15 +1,14 @@
// 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 System;
using System.Text;
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;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that when executed will /// Represents an <see cref="ActionResult"/> that when executed will

View File

@ -9,7 +9,7 @@ using Microsoft.AspNet.Http;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that when executed will /// Represents an <see cref="ActionResult"/> that when executed will

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="ObjectResult"/> that when executed will produce a Not Found (404) response. /// An <see cref="ObjectResult"/> that when executed will produce a Not Found (404) response.

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="HttpStatusCodeResult"/> that when /// Represents an <see cref="HttpStatusCodeResult"/> that when

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="ObjectResult"/> that when executed performs content negotiation, formats the entity body, and /// An <see cref="ObjectResult"/> that when executed performs content negotiation, formats the entity body, and

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// An <see cref="HttpStatusCodeResult"/> that when executed will produce an empty /// An <see cref="HttpStatusCodeResult"/> that when executed will produce an empty

View File

@ -1,9 +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.
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that when executed will /// Represents an <see cref="ActionResult"/> that when executed will

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// Represents an <see cref="HttpUnauthorizedResult"/> that when /// Represents an <see cref="HttpUnauthorizedResult"/> that when

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 namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// A marker interface for <see cref="IActionResult"/> types which need to have temp data saved. /// A marker interface for <see cref="IActionResult"/> types which need to have temp data saved.

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
public class NoContentResult : HttpStatusCodeResult public class NoContentResult : HttpStatusCodeResult
{ {

View File

@ -6,14 +6,17 @@ 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.Internal;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Logging; using Microsoft.Framework.Logging;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
public class ObjectResult : ActionResult public class ObjectResult : ActionResult
{ {

View File

@ -10,7 +10,7 @@ using Microsoft.AspNet.Mvc.Core;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
/// <summary> /// <summary>
/// A <see cref="FileResult"/> on execution will write a file from disk to the response /// A <see cref="FileResult"/> on execution will write a file from disk to the response

View File

@ -2,11 +2,12 @@
// 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.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
public class RedirectResult : ActionResult, IKeepTempDataResult public class RedirectResult : ActionResult, IKeepTempDataResult
{ {

View File

@ -3,11 +3,12 @@
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.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
public class RedirectToActionResult : ActionResult, IKeepTempDataResult public class RedirectToActionResult : ActionResult, IKeepTempDataResult
{ {

View File

@ -3,11 +3,12 @@
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.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc namespace Microsoft.AspNet.Mvc.ActionResults
{ {
public class RedirectToRouteResult : ActionResult, IKeepTempDataResult public class RedirectToRouteResult : ActionResult, IKeepTempDataResult
{ {

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