public static ISiloAzureQueueStreamConfigurator ConfigureCacheSize(this ISiloAzureQueueStreamConfigurator configurator, int cacheSize = SimpleQueueCacheOptions.DEFAULT_CACHE_SIZE) { configurator.Configure <SimpleQueueCacheOptions>(ob => ob.Configure(options => options.CacheSize = cacheSize)); return(configurator); }
public static ISiloAzureQueueStreamConfigurator ConfigureAzureQueue(this ISiloAzureQueueStreamConfigurator configurator, Action <OptionsBuilder <AzureQueueOptions> > configureOptions) { configurator.Configure <AzureQueueOptions>(configureOptions); return(configurator); }