Removing ANIs
This commit is contained in:
parent
e5c6fd401f
commit
26cd8d51b6
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Http;
|
||||
using Microsoft.Framework.Runtime;
|
||||
|
||||
namespace Microsoft.AspNet.Http.Core
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;}
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -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-*"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
namespace Microsoft.AspNet.Builder
|
||||
{
|
||||
// TODO: [AssemblyNeutral]
|
||||
public interface IServerInformation
|
||||
{
|
||||
string Name { get; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue