#281 Reorganise files, namespaces for internal and features.

This commit is contained in:
Chris R 2015-05-06 16:24:50 -07:00
parent 550b2252ea
commit eb0fe6a92a
83 changed files with 118 additions and 102 deletions

View File

@ -1,11 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.FeatureModel;
namespace Microsoft.AspNet.Http.Infrastructure
namespace Microsoft.AspNet.FeatureModel
{
internal struct FeatureReference<T>
public struct FeatureReference<T>
{
private T _feature;
private int _revision;

View File

@ -1,8 +1,6 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.AspNet.Http
{
/// <summary>

View File

@ -5,6 +5,7 @@ using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Extensions;
using Microsoft.AspNet.Http.Features;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public class AuthenticateContext
{

View File

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public class ChallengeContext
{

View File

@ -3,7 +3,7 @@
using System.Collections.Generic;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public class DescribeSchemesContext
{

View File

@ -3,7 +3,7 @@
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public interface IAuthenticationHandler
{

View File

@ -3,7 +3,7 @@
using System.Security.Claims;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public interface IHttpAuthenticationFeature
{

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public class SignInContext
{

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication
{
public class SignOutContext
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpBufferingFeature
{

View File

@ -3,7 +3,7 @@
using System.Net;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpConnectionFeature
{

View File

@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.IO;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpRequestFeature
{

View File

@ -3,7 +3,7 @@
using System.Threading;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpRequestLifetimeFeature
{

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpResponseFeature
{

View File

@ -4,7 +4,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpSendFileFeature
{

View File

@ -4,7 +4,7 @@
using System.IO;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpUpgradeFeature
{

View File

@ -4,7 +4,7 @@
using System.Net.WebSockets;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface IHttpWebSocketFeature
{

View File

@ -3,7 +3,7 @@
using System;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
/// <summary>
/// Feature to identify a request.

View File

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface ISession
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface ISessionFactory
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
// TODO: Is there any reason not to flatten the Factory down into the Feature?
public interface ISessionFeature

View File

@ -5,7 +5,7 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public interface ITlsConnectionFeature
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
/// <summary>
/// Provides information regarding TLS token binding parameters.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features
{
public class WebSocketAcceptContext
{

View File

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Internal;
namespace Microsoft.AspNet.Builder
namespace Microsoft.AspNet.Builder.Internal
{
public class ApplicationBuilder : IApplicationBuilder
{

View File

@ -7,10 +7,12 @@ using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Http.Features.Authentication.Internal;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Authentication.Internal
{
public class DefaultAuthenticationManager : AuthenticationManager
{

View File

@ -6,7 +6,7 @@ using System.IO;
using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public static class BufferingHelper
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http.Infrastructure
namespace Microsoft.AspNet.Http.Internal
{
internal static class Constants
{

View File

@ -6,9 +6,10 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultConnectionInfo : ConnectionInfo
{

View File

@ -7,10 +7,13 @@ using System.Security.Claims;
using System.Threading;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Authentication.Internal;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Http.Features.Authentication.Internal;
using Microsoft.AspNet.Http.Features.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultHttpContext : HttpContext
{

View File

@ -6,11 +6,11 @@ using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Internal;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultHttpRequest : HttpRequest
{

View File

@ -4,11 +4,11 @@
using System;
using System.IO;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Internal;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultHttpResponse : HttpResponse
{

View File

@ -6,10 +6,10 @@ using System.Collections.Generic;
using System.Net.WebSockets;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Features;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultWebSocketManager : WebSocketManager
{

View File

@ -3,7 +3,7 @@
using System.Security.Claims;
namespace Microsoft.AspNet.Http.Authentication
namespace Microsoft.AspNet.Http.Features.Authentication.Internal
{
public class HttpAuthenticationFeature : IHttpAuthenticationFeature
{

View File

@ -7,12 +7,12 @@ using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class FormFeature : IFormFeature
{

View File

@ -2,8 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using Microsoft.AspNet.Http.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class FormFile : IFormFile
{

View File

@ -3,7 +3,7 @@
using System.Net;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class HttpConnectionFeature : IHttpConnectionFeature
{

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class HttpRequestFeature : IHttpRequestFeature
{

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.IO;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class HttpResponseFeature : IHttpResponseFeature
{

View File

@ -4,7 +4,7 @@
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public interface IFormFeature
{

View File

@ -3,7 +3,7 @@
using System.Collections.Generic;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public interface IItemsFeature
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public interface IQueryFeature
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public interface IRequestCookiesFeature
{

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public interface IResponseCookiesFeature
{

View File

@ -3,7 +3,7 @@
using System;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public interface IServiceProvidersFeature
{

View File

@ -2,8 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.Http.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class ItemsFeature : IItemsFeature
{

View File

@ -3,12 +3,11 @@
using System.Collections.Generic;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class QueryFeature : IQueryFeature
{

View File

@ -5,12 +5,11 @@ using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Internal;
using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class RequestCookiesFeature : IRequestCookiesFeature
{

View File

@ -2,10 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class ResponseCookiesFeature : IResponseCookiesFeature
{

View File

@ -3,7 +3,7 @@
using System;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class ServiceProvidersFeature : IServiceProvidersFeature
{

View File

@ -5,7 +5,7 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class TlsConnectionFeature : ITlsConnectionFeature
{

View File

@ -4,7 +4,7 @@
using System.Collections.Generic;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
/// <summary>
/// Contains the parsed form values.

View File

@ -4,7 +4,7 @@
using System.Collections.Generic;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
public class FormFileCollection : List<IFormFile>, IFormFileCollection
{

View File

@ -5,10 +5,10 @@ using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.AspNet.Http.Internal;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
/// <summary>
/// Represents a wrapper for owin.RequestHeaders and owin.ResponseHeaders.

View File

@ -4,7 +4,7 @@
using System.Collections;
using System.Collections.Generic;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class ItemsDictionary : IDictionary<object, object>
{

View File

@ -9,7 +9,7 @@ using System.Linq;
using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Infrastructure
namespace Microsoft.AspNet.Http.Internal
{
internal struct HeaderSegment : IEquatable<HeaderSegment>
{

View File

@ -5,7 +5,7 @@ using System.Collections;
using System.Collections.Generic;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
/// <summary>
/// Accessors for query, forms, etc.

View File

@ -7,7 +7,7 @@ using System.Threading;
using System.Threading.Tasks;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
/// <summary>
/// A Stream that wraps another stream starting at a certain offset and reading for the given length.

View File

@ -6,7 +6,7 @@ using System.Collections;
using System.Collections.Generic;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
public class RequestCookiesCollection : IReadableStringCollection
{

View File

@ -8,7 +8,7 @@ using Microsoft.Framework.Internal;
using Microsoft.Framework.WebEncoders;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
/// <summary>
/// A wrapper for the response Set-Cookie header

View File

@ -4,8 +4,9 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Http.Collections
namespace Microsoft.AspNet.Http.Internal
{
public class SessionCollection : ISessionCollection
{

View File

@ -14,7 +14,9 @@ using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Http.Features.Authentication.Internal;
namespace Microsoft.AspNet.Owin
{

View File

@ -4,7 +4,9 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder.Internal;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Owin;

View File

@ -15,12 +15,12 @@ using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Owin
{
using Microsoft.Framework.Internal;
using SendFileFunc = Func<string, long, long?, CancellationToken, Task>;
public class OwinFeatureCollection :

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic;
using System.Net.WebSockets;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Owin
{

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Owin
{

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Owin
{

View File

@ -3,6 +3,7 @@
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Internal;
using Xunit;
namespace Microsoft.AspNet.Http

View File

@ -3,7 +3,9 @@
using System;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder.Internal;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal;
using Shouldly;
using Xunit;

View File

@ -4,7 +4,9 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder.Internal;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal;
using Xunit;
namespace Microsoft.AspNet.Builder.Extensions

View File

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http.Collections;
using Microsoft.AspNet.Http.Internal;
using Microsoft.Net.Http.Headers;
using Xunit;

View File

@ -3,6 +3,8 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Internal;
using Xunit;
namespace Microsoft.AspNet.Http.Extensions.Tests

View File

@ -4,7 +4,7 @@
using Microsoft.AspNet.Http;
using Xunit;
namespace Microsoft.AspNet.Builder
namespace Microsoft.AspNet.Builder.Internal
{
public class ApplicationBuilderTests
{

View File

@ -4,7 +4,7 @@
using System.IO;
using Xunit;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class BufferingHelperTests
{

View File

@ -2,15 +2,16 @@
// 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.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Http.Features.Authentication.Internal;
using Xunit;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultHttpContextTests
{

View File

@ -4,9 +4,10 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.AspNet.Http.Features;
using Xunit;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class DefaultHttpRequestTests
{

View File

@ -1,15 +1,15 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.WebUtilities;
using Xunit;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class FormFeatureTests
{

View File

@ -3,10 +3,9 @@
using System;
using System.Collections.Generic;
using Microsoft.AspNet.Http.Collections;
using Xunit;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Internal
{
public class HeaderDictionaryTests
{

View File

@ -5,7 +5,7 @@ using Microsoft.AspNet.FeatureModel;
using Moq;
using Xunit;
namespace Microsoft.AspNet.Http
namespace Microsoft.AspNet.Http.Features.Internal
{
public class QueryFeatureTests
{

View File

@ -7,6 +7,7 @@ using System.Linq;
using System.Security.Claims;
using System.Threading;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Internal;
using Xunit;
namespace Microsoft.AspNet.Owin

View File

@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
using Xunit;
namespace Microsoft.AspNet.Owin