public static IIntegrationHostBuilder UseAppInsights(this IIntegrationHostBuilder integrationHostBuilder, Action <AppInsightsConfig> configureDelegate) { integrationHostBuilder.ConfigureServices(y => y.AddAppInsights(configureDelegate)); integrationHostBuilder.StartupHandler.PostConfigureActions += StartupHandler_PostConfigureActions; return(integrationHostBuilder); }
public static IIntegrationHostBuilder UseHangfire(this IIntegrationHostBuilder integrationHostBuilder) { integrationHostBuilder.ConfigureServices(y => y.AddHangfire()); return(integrationHostBuilder); }
public static IIntegrationHostBuilder UseHangfire(this IIntegrationHostBuilder integrationHostBuilder, Action <IGlobalConfiguration, HangfireConfig> configureDelegate) { integrationHostBuilder.ConfigureServices(y => y.AddHangfire(configureDelegate)); return(integrationHostBuilder); }
public static IIntegrationHostBuilder UseAspNetCore(this IIntegrationHostBuilder integrationHostBuilder, Action <AspNetCoreConfig> configureDelegate) { integrationHostBuilder.ConfigureServices(y => y.AddAspNetCore(configureDelegate)); return(integrationHostBuilder); }