public static void Web(this IGenericHostConfigurator configurator, string name, Action <IWebComponentSetupConfigurator> config) { if (string.IsNullOrWhiteSpace(name)) { throw new ArgumentNullException(nameof(name)); } var spec = new WebComponentSetupSpecification(name); config?.Invoke(spec); configurator.AddComponentSpecification(spec); }
public static void Web(this IGenericHostConfigurator configurator, Action <IWebComponentSetupConfigurator> config) { configurator.Web("Web", config); }
public static void IdSvr4(this IGenericHostConfigurator configurator, Action <IIdSvr4SetupConfigurator>?config = null) { configurator.IdSvr4("IdSvr4", config); }