public ApplicationSettingMiddleware(
     IApplicationManager applicationManager,
     IndexDatabaseSettingProvider indexDatabaseSettingProvider,
     WApplicationSettings wApplicationSettings
     )
 {
     this.applicationManager           = applicationManager;
     this.indexDatabaseSettingProvider = indexDatabaseSettingProvider;
     this.wApplicationSettings         = wApplicationSettings;
 }
Exemple #2
0
 public ApplicationSettingMiddleware(
     IApplicationManager applicationManager,
     IndexDatabaseSettingProvider indexDatabaseSettingProvider,
     WApplicationSettings wApplicationSettings,
     ResolverFactory resolverFactory
     )
 {
     this.applicationManager           = applicationManager;
     this.indexDatabaseSettingProvider = indexDatabaseSettingProvider;
     this.wApplicationSettings         = wApplicationSettings;
     this.resolverFactory = resolverFactory;
     this.wApplicationSettings.SetProviders(new List <ISettingProvider> {
         indexDatabaseSettingProvider
     });
 }