コード例 #1
0
 public void Configure(ISiloBuilder siloBuilder)
 {
     siloBuilder
     .AddMorsteadGrainStorage(name: "unit-test");
 }
 /// <summary>
 /// Configure silo to use Morstead as the default grain storage.
 /// </summary>
 public static ISiloBuilder AddMorsteadGrainStorageAsDefault(this ISiloBuilder builder, Action <OptionsBuilder <MorsteadStorageOptions> > configureOptions = null)
 {
     return(builder.AddMorsteadGrainStorage(ProviderConstants.DEFAULT_STORAGE_PROVIDER_NAME, configureOptions));
 }