We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如下面的扩展方法,如果命名空间改为 IEndpointRouteBuilder 所使用的 Microsoft.AspNetCore.Routing,调用时会更方便,不需要另外添加命名空间引用,智能感知直接就能出来
IEndpointRouteBuilder
Microsoft.AspNetCore.Routing
namespace Cnblogs.Architecture.Ddd.EventBus.Dapr; public static IEndpointConventionBuilder Subscribe<TEvent>(this IEndpointRouteBuilder builder) where TEvent : IntegrationEvent { }
The text was updated successfully, but these errors were encountered:
好像可以,EFCore 的 AddDbContext 就是这样的,我都改一下吧,针对 interface 的扩展方法确实可以不用单独的命名空间
Sorry, something went wrong.
ikesnowy
No branches or pull requests
比如下面的扩展方法,如果命名空间改为
IEndpointRouteBuilder
所使用的Microsoft.AspNetCore.Routing
,调用时会更方便,不需要另外添加命名空间引用,智能感知直接就能出来The text was updated successfully, but these errors were encountered: