#281 Reorganise files, namespaces for internal and features.
This commit is contained in:
parent
550b2252ea
commit
eb0fe6a92a
|
|
@ -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;
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.AspNet.Http.Authentication
|
||||
namespace Microsoft.AspNet.Http.Features.Authentication
|
||||
{
|
||||
public class ChallengeContext
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.AspNet.Http.Authentication
|
||||
namespace Microsoft.AspNet.Http.Features.Authentication
|
||||
{
|
||||
public class DescribeSchemesContext
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.Http.Authentication
|
||||
namespace Microsoft.AspNet.Http.Features.Authentication
|
||||
{
|
||||
public interface IAuthenticationHandler
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace Microsoft.AspNet.Http.Authentication
|
||||
namespace Microsoft.AspNet.Http.Features.Authentication
|
||||
{
|
||||
public interface IHttpAuthenticationFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Net;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface IHttpConnectionFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface IHttpRequestFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Threading;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface IHttpRequestLifetimeFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface IHttpSendFileFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface IHttpUpgradeFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System.Net.WebSockets;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface IHttpWebSocketFeature
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
/// <summary>
|
||||
/// Feature to identify a request.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features
|
||||
{
|
||||
public interface ISession
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Security.Claims;
|
||||
|
||||
namespace Microsoft.AspNet.Http.Authentication
|
||||
namespace Microsoft.AspNet.Http.Features.Authentication.Internal
|
||||
{
|
||||
public class HttpAuthenticationFeature : IHttpAuthenticationFeature
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Net;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features.Internal
|
||||
{
|
||||
public class HttpConnectionFeature : IHttpConnectionFeature
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features.Internal
|
||||
{
|
||||
public interface IFormFeature
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features.Internal
|
||||
{
|
||||
public interface IItemsFeature
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features.Internal
|
||||
{
|
||||
public interface IServiceProvidersFeature
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Features.Internal
|
||||
{
|
||||
public class ServiceProvidersFeature : IServiceProvidersFeature
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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.
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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.
|
||||
|
|
@ -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>
|
||||
{
|
||||
|
|
@ -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>
|
||||
{
|
||||
|
|
@ -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.
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 :
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Http.Internal;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using Microsoft.AspNet.Http;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Builder
|
||||
namespace Microsoft.AspNet.Builder.Internal
|
||||
{
|
||||
public class ApplicationBuilderTests
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
using System.IO;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.AspNet.Http
|
||||
namespace Microsoft.AspNet.Http.Internal
|
||||
{
|
||||
public class BufferingHelperTests
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue