Skip to content

Commit c27bb0a

Browse files
Refactor Web API route parsing into core library
1 parent 6ca55f2 commit c27bb0a

16 files changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Copyright (c) .NET Foundation and contributors. All rights reserved.
2+
3+
using Asp.Versioning.Routing;
4+
using System.Runtime.CompilerServices;
5+
6+
[assembly: TypeForwardedTo( typeof( IBoundRouteTemplate ) )]
7+
[assembly: TypeForwardedTo( typeof( IParsedRoute ) )]
8+
[assembly: TypeForwardedTo( typeof( IPathContentSegment ) )]
9+
[assembly: TypeForwardedTo( typeof( IPathLiteralSubsegment ) )]
10+
[assembly: TypeForwardedTo( typeof( IPathParameterSubsegment ) )]
11+
[assembly: TypeForwardedTo( typeof( IPathSegment ) )]
12+
[assembly: TypeForwardedTo( typeof( IPathSeparatorSegment ) )]
13+
[assembly: TypeForwardedTo( typeof( IPathSubsegment ) )]
14+
[assembly: TypeForwardedTo( typeof( RouteParser ) )]

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/BoundRouteTemplateAdapter{T}.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/BoundRouteTemplateAdapter{T}.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IBoundRouteTemplate.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IBoundRouteTemplate.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IParsedRoute.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IParsedRoute.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IPathContentSegment.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IPathContentSegment.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IPathLiteralSubsegment.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IPathLiteralSubsegment.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IPathParameterSubsegment.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IPathParameterSubsegment.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IPathSegment.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IPathSegment.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IPathSeparatorSegment.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IPathSeparatorSegment.cs

File renamed without changes.

src/AspNet/WebApi/src/Asp.Versioning.WebApi.ApiExplorer/Routing/IPathSubsegment.cs renamed to src/AspNet/WebApi/src/Asp.Versioning.WebApi/Routing/IPathSubsegment.cs

File renamed without changes.

0 commit comments

Comments
 (0)