Move ActionResult classes back to main namespace

This commit is contained in:
Ryan Nowak 2015-09-16 21:42:31 -07:00
parent 1c4614c219
commit 046cb976b3
172 changed files with 83 additions and 186 deletions

View File

@ -5,7 +5,6 @@ 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,7 +3,7 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.ActionResults; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Filters; 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.ActionResults; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;

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

View File

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

View File

@ -4,8 +4,6 @@
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,7 +8,6 @@ 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,7 +4,6 @@
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

@ -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 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

View File

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

View File

@ -7,7 +7,6 @@ using System.Diagnostics;
using System.Diagnostics.Tracing; using System.Diagnostics.Tracing;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.ActionResults;
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;

View File

@ -8,7 +8,6 @@ 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.ActionResults;
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;

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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// A <see cref="HttpStatusCodeResult"/> that when /// A <see cref="HttpStatusCodeResult"/> that when

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class ChallengeResult : ActionResult public class ChallengeResult : ActionResult
{ {

View File

@ -5,7 +5,6 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; 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;

View File

@ -9,7 +9,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class ContentResult : ActionResult public class ContentResult : ActionResult
{ {

View File

@ -10,7 +10,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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

@ -10,7 +10,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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

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

View File

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

View File

@ -4,7 +4,6 @@
using System; using System;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Internal; using Microsoft.AspNet.Mvc.Internal;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

View File

@ -5,7 +5,6 @@ using System.Linq;
using System.Security.Claims; using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

View File

@ -3,7 +3,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; 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;

View File

@ -3,7 +3,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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

@ -4,7 +4,7 @@
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class NoContentResult : HttpStatusCodeResult public class NoContentResult : HttpStatusCodeResult
{ {

View File

@ -16,7 +16,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <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

@ -4,7 +4,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.ApiExplorer; using Microsoft.AspNet.Mvc.ApiExplorer;
using Microsoft.AspNet.Mvc.Core; using Microsoft.AspNet.Mvc.Core;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;

View File

@ -2,12 +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.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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class RedirectResult : ActionResult, IKeepTempDataResult public class RedirectResult : ActionResult, IKeepTempDataResult
{ {

View File

@ -8,7 +8,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class RedirectToActionResult : ActionResult, IKeepTempDataResult public class RedirectToActionResult : ActionResult, IKeepTempDataResult
{ {

View File

@ -8,7 +8,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class RedirectToRouteResult : ActionResult, IKeepTempDataResult public class RedirectToRouteResult : ActionResult, IKeepTempDataResult
{ {

View File

@ -3,7 +3,6 @@
using System; using System;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;

View File

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

View File

@ -14,7 +14,7 @@ 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.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// A <see cref="FileResult" /> that on execution writes the file specified using a virtual path to the response /// A <see cref="FileResult" /> that on execution writes the file specified using a virtual path to the response

View File

@ -5,10 +5,8 @@ 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.Authorization;
using Microsoft.AspNet.Cors.Core; using Microsoft.AspNet.Cors.Core;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Primitives; using Microsoft.Framework.Primitives;

View File

@ -5,7 +5,6 @@ using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Cors.Core; using Microsoft.AspNet.Cors.Core;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Framework.Primitives; using Microsoft.Framework.Primitives;

View File

@ -10,7 +10,7 @@ using Microsoft.Framework.OptionsModel;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
using Newtonsoft.Json; using Newtonsoft.Json;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// An action result which formats the given object as JSON. /// An action result which formats the given object as JSON.

View File

@ -8,7 +8,6 @@ using System.Security.Claims;
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.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;

View File

@ -11,7 +11,7 @@ using Microsoft.Net.Http.Headers;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that renders a partial view to the response. /// Represents an <see cref="ActionResult"/> that renders a partial view to the response.

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

View File

@ -13,7 +13,7 @@ using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// An <see cref="IActionResult"/> which renders a view component to the response. /// An <see cref="IActionResult"/> which renders a view component to the response.

View File

@ -11,7 +11,7 @@ using Microsoft.Net.Http.Headers;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using System.Diagnostics.Tracing; using System.Diagnostics.Tracing;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
/// <summary> /// <summary>
/// Represents an <see cref="ActionResult"/> that renders a view to the response. /// Represents an <see cref="ActionResult"/> that renders a view to the response.

View File

@ -7,7 +7,6 @@ using System.Security.Principal;
using System.Text; using System.Text;
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 Microsoft.AspNet.Mvc.Actions;
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.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.Framework.Internal; using Microsoft.Framework.Internal;
namespace System.Web.Http namespace System.Web.Http

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.ActionResults; using Microsoft.AspNet.Mvc;
namespace System.Web.Http namespace System.Web.Http
{ {

View File

@ -4,7 +4,6 @@
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;
namespace System.Web.Http namespace System.Web.Http
{ {

View File

@ -3,7 +3,6 @@
using System.Net.Http; using System.Net.Http;
using System.Web.Http; using System.Web.Http;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
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 Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ActionResults; using Microsoft.AspNet.Mvc;
namespace System.Web.Http namespace System.Web.Http
{ {

View File

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

View File

@ -4,7 +4,6 @@
using System.Net; using System.Net;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Mvc.ActionResults;
namespace System.Web.Http namespace System.Web.Http
{ {

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.Net.Http; using System.Net.Http;
using Microsoft.AspNet.Mvc.ActionResults; using Microsoft.AspNet.Mvc;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace System.Web.Http namespace System.Web.Http

View File

@ -8,7 +8,6 @@ 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.ActionConstraints;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; 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;

View File

@ -10,8 +10,6 @@ using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionResults;
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.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;

View File

@ -6,8 +6,6 @@ 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.Cors.Core;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;

View File

@ -5,7 +5,7 @@ using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class BadRequestObjectResultTests public class BadRequestObjectResultTests
{ {

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class BadRequestResultTests public class BadRequestResultTests
{ {

View File

@ -9,7 +9,7 @@ using Microsoft.AspNet.Routing;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class ChallengeResultTest public class ChallengeResultTest
{ {

View File

@ -6,7 +6,6 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionConstraints; using Microsoft.AspNet.Mvc.ActionConstraints;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;

View File

@ -14,7 +14,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class ContentResultTest public class ContentResultTest
{ {

View File

@ -16,7 +16,7 @@ using Microsoft.Framework.OptionsModel;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class CreatedAtActionResultTests public class CreatedAtActionResultTests
{ {

View File

@ -16,7 +16,7 @@ using Microsoft.Framework.OptionsModel;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class CreatedAtRouteResultTests public class CreatedAtRouteResultTests
{ {

View File

@ -14,7 +14,7 @@ using Microsoft.Framework.OptionsModel;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class CreatedResultTests public class CreatedResultTests
{ {

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Routing;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class EmptyResultTests public class EmptyResultTests
{ {

View File

@ -10,7 +10,7 @@ using Microsoft.AspNet.Routing;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class FileContentResultTest public class FileContentResultTest
{ {

View File

@ -13,7 +13,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class FileResultTest public class FileResultTest
{ {

View File

@ -14,7 +14,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class FileStreamResultTest public class FileStreamResultTest
{ {

View File

@ -8,8 +8,6 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Moq; using Moq;

View File

@ -1,22 +1,18 @@
// 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 Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
using Xunit;
using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.ActionResults;
#if DNX451 #if DNX451
using Moq; using Moq;
using System.Net;
#endif #endif
using Xunit;
namespace Microsoft.AspNet.Mvc.Formatters namespace Microsoft.AspNet.Mvc.Formatters
{ {

View File

@ -7,7 +7,6 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Features; using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
using Xunit; using Xunit;

View File

@ -16,7 +16,7 @@ using Microsoft.Framework.OptionsModel;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class HttpNotFoundObjectResultTest public class HttpNotFoundObjectResultTest
{ {

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class HttpNotFoundResultTests public class HttpNotFoundResultTests
{ {

View File

@ -15,7 +15,7 @@ using Microsoft.Framework.Logging.Testing;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class HttpOkObjectResultTest public class HttpOkObjectResultTest
{ {

View File

@ -8,7 +8,7 @@ using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class HttpOkResultTest public class HttpOkResultTest
{ {

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class HttpStatusCodeResultTests public class HttpStatusCodeResultTests
{ {

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class HttpUnauthorizedResultTests public class HttpUnauthorizedResultTests
{ {

View File

@ -22,7 +22,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class ObjectResultTests public class ObjectResultTests
{ {

View File

@ -13,7 +13,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class PhysicalFileProviderResultTest public class PhysicalFileProviderResultTest
{ {

View File

@ -5,7 +5,6 @@ using System;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.Formatters; using Microsoft.AspNet.Mvc.Formatters;

View File

@ -9,7 +9,7 @@ using Microsoft.Framework.DependencyInjection;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class RedirectResultTest public class RedirectResultTest
{ {

View File

@ -9,7 +9,7 @@ using Microsoft.AspNet.Testing;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class RedirectToActionResultTest public class RedirectToActionResultTest
{ {

View File

@ -13,7 +13,7 @@ using Microsoft.Framework.Internal;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class RedirectToRouteResultTest public class RedirectToRouteResultTest
{ {

View File

@ -5,8 +5,6 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Xunit; using Xunit;

View File

@ -16,7 +16,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class VirtualFileProviderResultTest public class VirtualFileProviderResultTest
{ {

View File

@ -15,7 +15,7 @@ using Microsoft.Net.Http.Headers;
using Newtonsoft.Json; using Newtonsoft.Json;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class JsonResultTest public class JsonResultTest
{ {

View File

@ -5,7 +5,6 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Moq; using Moq;

View File

@ -11,7 +11,6 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Hosting; using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Mvc.ModelBinding;

View File

@ -7,7 +7,6 @@ using System.IO;
using System.Text; using System.Text;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Mvc.ActionResults;
using Microsoft.AspNet.Mvc.Actions; using Microsoft.AspNet.Mvc.Actions;
using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing;
using Moq; using Moq;

View File

@ -15,7 +15,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class PartialViewResultTest public class PartialViewResultTest
{ {

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.ActionResults;
using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.Filters;
using Moq; using Moq;
using Xunit; using Xunit;

View File

@ -19,7 +19,7 @@ using Microsoft.Net.Http.Headers;
using Moq; using Moq;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Mvc.ActionResults namespace Microsoft.AspNet.Mvc
{ {
public class ViewComponentResultTest public class ViewComponentResultTest
{ {

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