Ejemplo n.º 1
0
 public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder)
 {
     builder.Services.AddOptions().Configure <HttpTransportOptions>(builder.Configuration.GetSection("Transport"));
     return(builder.AddHttpTransportService());
 }
Ejemplo n.º 2
0
 public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder, Action <HttpTransportOptions> options)
 {
     builder.Services.AddOptions().Configure(options);
     return(builder.AddHttpTransportService());
 }
 public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder, IConfiguration configuration)
 {
     return(builder.AddHttpTransportService());
 }