public static IHttpReportsBuilder AddHttpTransport(this IHttpReportsBuilder builder) { builder.Services.AddOptions().Configure <HttpTransportOptions>(builder.Configuration.GetSection("Transport")); return(builder.AddHttpTransportService()); }
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()); }