Make IServerFactory AssemblyNeutral.
This commit is contained in:
parent
e15fe540a8
commit
136811e732
|
|
@ -0,0 +1,32 @@
|
||||||
|
// Copyright (c) Microsoft Open Technologies, Inc.
|
||||||
|
// All Rights Reserved
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR
|
||||||
|
// CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
// WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF
|
||||||
|
// TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR
|
||||||
|
// NON-INFRINGEMENT.
|
||||||
|
// See the Apache 2 License for the specific language governing
|
||||||
|
// permissions and limitations under the License.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Microsoft.AspNet.Builder;
|
||||||
|
using Microsoft.Framework.ConfigurationModel;
|
||||||
|
using Microsoft.Framework.Runtime;
|
||||||
|
|
||||||
|
namespace Microsoft.AspNet.Hosting.Server
|
||||||
|
{
|
||||||
|
[AssemblyNeutral]
|
||||||
|
public interface IServerFactory
|
||||||
|
{
|
||||||
|
IServerInformation Initialize(IConfiguration configuration);
|
||||||
|
IDisposable Start(IServerInformation serverInformation, Func<object, Task> application);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -24,6 +24,7 @@
|
||||||
<Compile Include="AuthenticationHandler.cs" />
|
<Compile Include="AuthenticationHandler.cs" />
|
||||||
<Compile Include="FeatureContext.cs" />
|
<Compile Include="FeatureContext.cs" />
|
||||||
<Compile Include="Helpers.cs" />
|
<Compile Include="Helpers.cs" />
|
||||||
|
<Compile Include="IServerFactory.cs" />
|
||||||
<Compile Include="LogHelper.cs" />
|
<Compile Include="LogHelper.cs" />
|
||||||
<Compile Include="ServerFactory.cs" />
|
<Compile Include="ServerFactory.cs" />
|
||||||
<Compile Include="ServerInformation.cs" />
|
<Compile Include="ServerInformation.cs" />
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
"version": "1.0.0-*",
|
"version": "1.0.0-*",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.FeatureModel": "1.0.0-*",
|
"Microsoft.AspNet.FeatureModel": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Hosting": "1.0.0-*",
|
|
||||||
"Microsoft.AspNet.Http": "1.0.0-*",
|
"Microsoft.AspNet.Http": "1.0.0-*",
|
||||||
"Microsoft.AspNet.HttpFeature": "1.0.0-*",
|
"Microsoft.AspNet.HttpFeature": "1.0.0-*",
|
||||||
"Microsoft.Framework.ConfigurationModel": "1.0.0-*",
|
"Microsoft.Framework.ConfigurationModel": "1.0.0-*",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue