Removing ANIs

This commit is contained in:
Pranav K 2015-02-12 09:07:47 -08:00
parent e5c6fd401f
commit 26cd8d51b6
26 changed files with 1 additions and 74 deletions

View File

@ -3,8 +3,6 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Core
{

View File

@ -1,13 +0,0 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Framework.Runtime
{
[AssemblyNeutralAttribute]
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public sealed class AssemblyNeutralAttribute : Attribute
{
}
}

View File

@ -2,11 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpApplicationFeature
{
string AppName { get; set; }

View File

@ -1,11 +1,8 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpBufferingFeature
{
void DisableRequestBuffering();

View File

@ -4,11 +4,9 @@
using System.Security.Cryptography.X509Certificates;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpClientCertificateFeature
{
/// <summary>

View File

@ -2,11 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Net;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpConnectionFeature
{
IPAddress RemoteIpAddress { get; set; }

View File

@ -1,14 +1,11 @@
// Copyright (c) Microsoft Open Technologies, Inc. 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.Collections.Generic;
using System.IO;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpRequestFeature
{
string Protocol { get; set; }

View File

@ -2,11 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpRequestLifetimeFeature
{
CancellationToken RequestAborted { get; }

View File

@ -4,11 +4,9 @@
using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpResponseFeature
{
int StatusCode { get; set; }

View File

@ -3,11 +3,9 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpSendFileFeature
{
Task SendFileAsync(string path, long offset, long? length, CancellationToken cancellation);

View File

@ -3,11 +3,9 @@
using System.IO;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpUpgradeFeature
{
bool IsUpgradableRequest { get; }

View File

@ -3,11 +3,9 @@
using System.Net.WebSockets;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IHttpWebSocketFeature
{
bool IsWebSocketRequest { get; }

View File

@ -3,11 +3,9 @@
using System;
using System.Collections.Generic;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface ISession
{
void Load();

View File

@ -1,12 +1,8 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface ISessionFactory
{
bool IsAvailable { get; }

View File

@ -1,12 +1,9 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
// TODO: Is there any reason not to flatten the Factory down into the Feature?
[AssemblyNeutral]
public interface ISessionFeature
{
ISessionFactory Factory { get; set; }

View File

@ -1,9 +1,6 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
/// <summary>
@ -15,7 +12,6 @@ namespace Microsoft.AspNet.Http.Interfaces
/// client's machine. See https://datatracker.ietf.org/doc/draft-popov-token-binding/
/// for more information.
/// </remarks>
[AssemblyNeutral]
public interface ITlsTokenBindingFeature
{
/// <summary>

View File

@ -1,11 +1,8 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces
{
[AssemblyNeutral]
public interface IWebSocketAcceptContext
{
string SubProtocol { get; set; }

View File

@ -2,11 +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.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface IAuthTypeContext
{
void Accept(IDictionary<string,object> description);

View File

@ -3,11 +3,9 @@
using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface IAuthenticateContext
{
IEnumerable<string> AuthenticationTypes { get; }

View File

@ -1,13 +1,10 @@
// Copyright (c) Microsoft Open Technologies, Inc. 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;
using System.Threading.Tasks;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface IAuthenticationHandler
{
void GetDescriptions(IAuthTypeContext context);

View File

@ -2,11 +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.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface IChallengeContext
{
IEnumerable<string> AuthenticationTypes {get;}

View File

@ -2,11 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Security.Claims;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface IHttpAuthenticationFeature
{
ClaimsPrincipal User { get; set; }

View File

@ -3,11 +3,9 @@
using System.Collections.Generic;
using System.Security.Claims;
using Microsoft.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface ISignInContext
{
IEnumerable<ClaimsIdentity> Identities { get; }

View File

@ -2,11 +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.Framework.Runtime;
namespace Microsoft.AspNet.Http.Interfaces.Security
{
[AssemblyNeutral]
public interface ISignOutContext
{
IEnumerable<string> AuthenticationTypes { get; }

View File

@ -6,14 +6,10 @@
"aspnetcore50": {
"dependencies": {
"Microsoft.Net.WebSocketAbstractions": "1.0.0-*",
"System.IO": "4.0.10-beta-*",
"System.Net.Primitives": "4.0.10-beta-*",
"System.Runtime": "4.0.20-beta-*",
"System.Runtime.InteropServices": "4.0.20-beta-*",
"System.Security.Claims": "4.0.0-beta-*",
"System.Security.Cryptography.X509Certificates": "4.0.0-beta-*",
"System.Security.Principal": "4.0.0-beta-*",
"System.Threading.Tasks": "4.0.10-beta-*"
"System.Security.Principal": "4.0.0-beta-*"
}
}
}

View File

@ -3,7 +3,6 @@
namespace Microsoft.AspNet.Builder
{
// TODO: [AssemblyNeutral]
public interface IServerInformation
{
string Name { get; }