Skip to content

Commit

Permalink
MapMethods 虚拟化,以便重写构建管道实现 (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
239573049 authored Mar 29, 2024
1 parent 5b06942 commit 60d9a93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected virtual string GetBaseUri(ServiceRouteOptions globalOptions, Pluraliza
return string.Join('/', list.Where(x => !string.IsNullOrWhiteSpace(x)).Select(u => u.Trim('/')));
}

RouteHandlerBuilder MapMethods(ServiceRouteOptions globalOptions, string pattern, string? httpMethod, Delegate handler)
protected virtual RouteHandlerBuilder MapMethods(ServiceRouteOptions globalOptions, string pattern, string? httpMethod, Delegate handler)
{
if (!string.IsNullOrWhiteSpace(httpMethod))
return App.MapMethods(pattern, new[]
Expand Down

0 comments on commit 60d9a93

Please sign in to comment.