Changing the AppFunc signature to pass IFeatureCollection

Reaction to bug: https://github.com/aspnet/Hosting/issues/162
This commit is contained in:
Praburaj 2015-02-25 17:43:04 -08:00
parent 9511a7a718
commit fc6b855f42
2 changed files with 4 additions and 4 deletions

View File

@ -19,12 +19,13 @@ using System;
using System.Diagnostics.Contracts;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.FeatureModel;
using Microsoft.Framework.Logging;
using Microsoft.Net.Http.Server;
namespace Microsoft.AspNet.Server.WebListener
{
using AppFunc = Func<object, Task>;
using AppFunc = Func<IFeatureCollection, Task>;
internal class MessagePump : IDisposable
{

View File

@ -35,11 +35,10 @@
// limitations under the License.
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Hosting.Server;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Logging;
@ -47,7 +46,7 @@ using Microsoft.Net.Http.Server;
namespace Microsoft.AspNet.Server.WebListener
{
using AppFunc = Func<object, Task>;
using AppFunc = Func<IFeatureCollection, Task>;
/// <summary>
/// Implements the setup process for this server.