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()))));
 }
Exemple #2
0
 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)));
 }