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:
parent
2c264efd42
commit
322e1f5d9c
|
|
@ -48,10 +48,5 @@ namespace Microsoft.AspNetCore.Builder
|
|||
await context.Handler(context.HttpContext);
|
||||
}
|
||||
}
|
||||
|
||||
private class RoutingFeature : IRoutingFeature
|
||||
{
|
||||
public RouteData RouteData { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue