#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. // 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.FeatureModel; namespace Microsoft.AspNet.FeatureModel
namespace Microsoft.AspNet.Http.Infrastructure
{ {
internal struct FeatureReference<T> public struct FeatureReference<T>
{ {
private T _feature; private T _feature;
private int _revision; private int _revision;

View File

@ -1,8 +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 System.Collections.Generic;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http
{ {
/// <summary> /// <summary>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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.Http namespace Microsoft.AspNet.Http.Features
{ {
public interface IHttpBufferingFeature public interface IHttpBufferingFeature
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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.Http namespace Microsoft.AspNet.Http.Features
{ {
public interface ISessionFactory public interface ISessionFactory
{ {

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.Http namespace Microsoft.AspNet.Http.Features
{ {
// TODO: Is there any reason not to flatten the Factory down into the Feature? // TODO: Is there any reason not to flatten the Factory down into the Feature?
public interface ISessionFeature public interface ISessionFeature

View File

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

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.Http namespace Microsoft.AspNet.Http.Features
{ {
/// <summary> /// <summary>
/// Provides information regarding TLS token binding parameters. /// Provides information regarding TLS token binding parameters.

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.Http namespace Microsoft.AspNet.Http.Features
{ {
public class WebSocketAcceptContext public class WebSocketAcceptContext
{ {

View File

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

View File

@ -7,10 +7,12 @@ using System.Linq;
using System.Security.Claims; using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; 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; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http.Authentication namespace Microsoft.AspNet.Http.Authentication.Internal
{ {
public class DefaultAuthenticationManager : AuthenticationManager public class DefaultAuthenticationManager : AuthenticationManager
{ {

View File

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

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.Http.Infrastructure namespace Microsoft.AspNet.Http.Internal
{ {
internal static class Constants internal static class Constants
{ {

View File

@ -6,9 +6,10 @@ using System.Security.Cryptography.X509Certificates;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; 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 public class DefaultConnectionInfo : ConnectionInfo
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,12 +7,12 @@ using System.IO;
using System.Text; using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Collections; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.WebUtilities; using Microsoft.AspNet.WebUtilities;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public class FormFeature : IFormFeature 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO; using System.IO;
using Microsoft.AspNet.Http.Internal;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public class FormFile : IFormFile public class FormFile : IFormFile
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

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.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public interface IQueryFeature public interface IQueryFeature
{ {

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.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public interface IRequestCookiesFeature public interface IRequestCookiesFeature
{ {

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.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public interface IResponseCookiesFeature public interface IResponseCookiesFeature
{ {

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public interface IServiceProvidersFeature 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. // 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.Http.Internal;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public class ItemsFeature : IItemsFeature public class ItemsFeature : IItemsFeature
{ {

View File

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

View File

@ -5,12 +5,11 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Collections; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Http.Infrastructure;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public class RequestCookiesFeature : IRequestCookiesFeature 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. // 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.FeatureModel;
using Microsoft.AspNet.Http.Collections; using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Http.Infrastructure;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public class ResponseCookiesFeature : IResponseCookiesFeature public class ResponseCookiesFeature : IResponseCookiesFeature
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,7 +7,7 @@ using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Framework.Internal; using Microsoft.Framework.Internal;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Internal
{ {
/// <summary> /// <summary>
/// A Stream that wraps another stream starting at a certain offset and reading for the given length. /// 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 System.Collections.Generic;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Http.Collections namespace Microsoft.AspNet.Http.Internal
{ {
public class RequestCookiesCollection : IReadableStringCollection public class RequestCookiesCollection : IReadableStringCollection
{ {

View File

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

View File

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

View File

@ -14,7 +14,9 @@ using System.Security.Principal;
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.Http.Authentication; using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Http.Features.Authentication.Internal;
namespace Microsoft.AspNet.Owin namespace Microsoft.AspNet.Owin
{ {

View File

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

View File

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

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Net.WebSockets; using System.Net.WebSockets;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Owin 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. // 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.Http; using Microsoft.AspNet.Http.Features;
namespace Microsoft.AspNet.Owin namespace Microsoft.AspNet.Owin
{ {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@
using System.IO; using System.IO;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Internal
{ {
public class BufferingHelperTests 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. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Security.Claims; using System.Security.Claims;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel; using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http.Authentication; using Microsoft.AspNet.Http.Authentication;
using Microsoft.AspNet.Http.Features.Authentication;
using Microsoft.AspNet.Http.Features.Authentication.Internal;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Internal
{ {
public class DefaultHttpContextTests public class DefaultHttpContextTests
{ {

View File

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

View File

@ -1,15 +1,15 @@
// 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.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.WebUtilities; using Microsoft.AspNet.WebUtilities;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Http namespace Microsoft.AspNet.Http.Features.Internal
{ {
public class FormFeatureTests public class FormFeatureTests
{ {

View File

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

View File

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

View File

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

View File

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