CommandRouteBuilder required an implementation of IRouteBuilder as a dependency.
It looked to be like, as its name says, that's the builder itself.
Having CommandRouteBuilder implement IRouteBuilder simplifies both the consumer code (refer to Startup.cs) and the builder code itself (no longer requires IRouteBuilder which could or could not have a IServiceProvider available)
CommandRouteBuilder required an implementation of IRouteBuilder as a dependency. It looked to be like, as its name says, that's the builder itself. Having CommandRouteBuilder implement IRouteBuilder simplifies both the consumer code (refer to Startup.cs) and the builder code itself (no longer requires IRouteBuilder which could or could not have a IServiceProvider available)