コード例 #1
0
 public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder)
 {
     builder.Services.AddOptions().Configure <HttpTransportOptions>(builder.Configuration.GetSection("Transport"));
     return(builder.AddHttpTransportService());
 }
コード例 #2
0
 public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder, Action <HttpTransportOptions> options)
 {
     builder.Services.AddOptions().Configure(options);
     return(builder.AddHttpTransportService());
 }
コード例 #3
0
 public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder, IConfiguration configuration)
 {
     return(builder.AddHttpTransportService());
 }