File tree 2 files changed +6
-3
lines changed
src/Microsoft.AspNetCore.Routing
test/Microsoft.AspNetCore.Routing.Tests
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ namespace Microsoft.AspNetCore.Routing
10
10
public class RouteOptions
11
11
{
12
12
/// <summary>
13
- /// Gets or sets a value indicating whether all generated URLs are lower-case. it doesn't include the query string.
13
+ /// Gets or sets a value indicating whether all generated paths URLs are lower-case.
14
+ /// Use <see cref="LowercaseQueryStrings" /> to configure the behavior for query strings.
14
15
/// </summary>
15
16
public bool LowercaseUrls { get ; set ; }
16
17
17
18
/// <summary>
18
- /// Gets or sets a value indicating whether all generated QUERY STRINGS are lower-case. property will when LowercaseUrls true.
19
+ /// Gets or sets a value indicating whether a generated query strings are lower-case.
20
+ /// This property will be unless <see cref="LowercaseUrls" /> is also <c>true</c>
19
21
/// </summary>
20
22
public bool LowercaseQueryStrings { get ; set ; }
21
23
Original file line number Diff line number Diff line change @@ -701,7 +701,8 @@ private static Mock<IRouter> CreateRoute(
701
701
702
702
private static Action < RouteOptions > GetRouteOptions (
703
703
bool lowerCaseUrls = false ,
704
- bool appendTrailingSlash = false , bool lowercaseQueryStrings = false )
704
+ bool appendTrailingSlash = false ,
705
+ bool lowercaseQueryStrings = false )
705
706
{
706
707
return ( options ) =>
707
708
{
You can’t perform that action at this time.
0 commit comments