Exemple #1
0
 public static void WithAzureStorage(
     this DownrServicesCollectionExtensionsConfigurator configurator)
 {
     configurator.Services.AddSingleton <IYamlIndexer, AzureStorageYamlIndexer>();
     configurator.Services.Configure <AzureStorageConfiguration>(configurator.Configuration.GetSection("downr.AzureStorage"));
 }
Exemple #2
0
 public static void WithWebServerFileSystemStorage(
     this DownrServicesCollectionExtensionsConfigurator configurator)
 {
     configurator.Services.AddSingleton <IYamlIndexer, WebServerFileSystemContentIndexer>();
 }