Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Make routing feature class public
Browse files Browse the repository at this point in the history
- Made routing feature class public, to lower boilerplate code in client
code tests.

Addresses #333
  • Loading branch information
Muchiachio committed Jun 30, 2016
1 parent 2c264ef commit 322e1f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Microsoft.AspNetCore.Routing/RouterMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,5 @@ public async Task Invoke(HttpContext httpContext)
await context.Handler(context.HttpContext);
}
}

private class RoutingFeature : IRoutingFeature
{
public RouteData RouteData { get; set; }
}
}
}
10 changes: 10 additions & 0 deletions src/Microsoft.AspNetCore.Routing/RoutingFeature.cs
Original file line number Diff line number Diff line change
@@ -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; }
}
}

0 comments on commit 322e1f5

Please sign in to comment.