コード例 #1
0
 public void Build(IFunctionHostBuilder builder)
 {
     builder.Functions(functions => functions
                       .HttpRoute("/v1/invoice", route => route
                                  .HttpFunction <SubmitInvoiceCommand>(HttpMethod.Post)
                                  .OutputTo.ServiceBusQueue("serviceBusConnectionString", "invoiceSummaryQueue")
                                  )
                       );
 }