public static ProviderSetup <TConfigurator> ConfigureWebSocket <TConfigurator>(this ProviderSetup <TConfigurator> setup) where TConfigurator : IWebSocketProviderConfigurator <TConfigurator> { return(setup .Configure((configurator, providerSection) => configurator .ConfigureWebSocket(webSocketConfigurator => webSocketConfigurator .ConfigureFrom(providerSection .MergeWithGremlinqSection())))); }
public static ProviderSetup <TConfigurator> Configure <TConfigurator>(this ProviderSetup <TConfigurator> setup, Func <TConfigurator, IProviderConfigurationSection, TConfigurator> extraConfiguration) where TConfigurator : IProviderConfigurator <TConfigurator> { return(setup .Configure((configurator, _, providerSection) => extraConfiguration(configurator, providerSection))); }