コード例 #1
0
 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);
 }
コード例 #2
0
 public static ISiloAzureQueueStreamConfigurator ConfigureAzureQueue(this ISiloAzureQueueStreamConfigurator configurator, Action <OptionsBuilder <AzureQueueOptions> > configureOptions)
 {
     configurator.Configure <AzureQueueOptions>(configureOptions);
     return(configurator);
 }