Internalize classes in Http.Connections (#2013)

This commit is contained in:
BrennanConroy 2018-04-13 14:57:37 -07:00 committed by GitHub
parent 623ab63091
commit 021356bf27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 7 deletions

View File

@ -8,7 +8,7 @@ using System.Globalization;
namespace Microsoft.AspNetCore.Http.Connections.Client.Internal
{
public class ConnectionLogScope : IReadOnlyList<KeyValuePair<string, object>>
internal class ConnectionLogScope : IReadOnlyList<KeyValuePair<string, object>>
{
private string _cachedToString;
private string _connectionId;

View File

@ -5,7 +5,6 @@ using System;
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.AspNetCore.Internal;
using Newtonsoft.Json;

View File

@ -6,12 +6,11 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization.Policy;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.Http.Connections.Internal
{
public static class AuthorizeHelper
internal static class AuthorizeHelper
{
public static async Task<bool> AuthorizeAsync(HttpContext context, IList<IAuthorizeData> policies)
{

View File

@ -8,7 +8,7 @@ using System.Globalization;
namespace Microsoft.AspNetCore.Http.Connections.Internal
{
public class ConnectionLogScope : IReadOnlyList<KeyValuePair<string, object>>
internal class ConnectionLogScope : IReadOnlyList<KeyValuePair<string, object>>
{
private string _cachedToString;

View File

@ -3,9 +3,7 @@
using System;
using System.Buffers;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Http.Connections.Internal