Make RouteAttribute non-inherited (#10236)
* Make RouteAttribute non-inherited Fixes: #5529 Inheriting and looking for inherited route attributes will cause nothing but trouble. We had a bug tracking what to do about this and we decided to make it really clear that routes are not inherited. Previously the attribute was marked as inherited, but we woulnd't look for inherited routes. * add test
显示
- src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs 1 个添加, 1 个删除...nts/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
- src/Components/Components/src/RouteAttribute.cs 2 个添加, 2 个删除src/Components/Components/src/RouteAttribute.cs
- src/Components/Components/src/Routing/RouteTable.cs 7 个添加, 2 个删除src/Components/Components/src/Routing/RouteTable.cs
- src/Components/Components/test/Routing/RouteTableTests.cs 33 个添加, 0 个删除src/Components/Components/test/Routing/RouteTableTests.cs
加载中
想要评论请 注册 或 登录