public RestCommandBuilder()
 {
     ClaimsMappingBuilder    = new ClaimsMappingBuilder();
     ControllerBuilder       = new ControllerBuilder();
     OutputNamespace         = "AzureFromTheTrenches.Commanding.AspNetCore.Controllers";
     _defaultControllerRoute = "api/[controller]";
 }
 public void SetDefaults()
 {
     ControllerBuilder.SetDefaults(OutputNamespace, _defaultControllerRoute);
 }
 public IReadOnlyCollection <Type> GetRegisteredCommandTypes()
 {
     return(ControllerBuilder.GetRegisteredCommandTypes());
 }