Make routing feature class public

- Made routing feature class public, to lower boilerplate code in client
code tests.

Addresses #333
This commit is contained in:
Muchiachio 2016-06-30 08:58:33 +03:00
parent 2c264efd42
commit 322e1f5d9c
2 changed files with 10 additions and 5 deletions

View File

@ -48,10 +48,5 @@ namespace Microsoft.AspNetCore.Builder
await context.Handler(context.HttpContext);
}
}
private class RoutingFeature : IRoutingFeature
{
public RouteData RouteData { get; set; }
}
}
}

View File

@ -0,0 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNetCore.Routing
{
public class RoutingFeature : IRoutingFeature
{
public RouteData RouteData { get; set; }
}
}