public static IBootstrapperConfiguration WithLightCore(this IBootstrapperConfiguration bootstrapper, IContainerBuilder builder) { if (builder == null) { throw new ArgumentNullException(); } return(bootstrapper.AddPlugin(new BootstrapperLightCorePlugin(builder))); }
public static IBootstrapperConfiguration WithLightCore(this IBootstrapperConfiguration bootstrapper) { return(bootstrapper.AddPlugin(new BootstrapperLightCorePlugin(new ContainerBuilder()))); }
public static IBootstrapperConfiguration WithShutdownTasks(this IBootstrapperConfiguration bootstrapper) { return(bootstrapper.AddPlugin(new Plugins.BootstrapperShutdownTaskPlugin())); }
public static IBootstrapperConfiguration WithAutoMapper(this IBootstrapperConfiguration config) { return(config.AddPlugin(new BootstrapperAutoMapperPlugin())); }
public static IBootstrapperConfiguration WithTasks(this IBootstrapperConfiguration bootstrapper) { var result = bootstrapper.AddPlugin(new Plugins.BootstrapperStartupTaskPlugin()); return(result.AddPlugin(new Plugins.BootstrapperShutdownTaskPlugin())); }