File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
framework/src/Volo.Abp.Core/Volo/Abp/Modularity Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
22using JetBrains . Annotations ;
3+ using Microsoft . Extensions . Configuration ;
34using Microsoft . Extensions . DependencyInjection ;
45
56namespace Volo . Abp . Modularity ;
@@ -8,6 +9,13 @@ public class ServiceConfigurationContext
89{
910 public IServiceCollection Services { get ; }
1011
12+ public IConfiguration Configuration {
13+ get {
14+ return _configuration ??= Services . GetConfiguration ( ) ;
15+ }
16+ }
17+ private IConfiguration ? _configuration ;
18+
1119 public IDictionary < string , object ? > Items { get ; }
1220
1321 /// <summary>
@@ -29,4 +37,4 @@ public ServiceConfigurationContext([NotNull] IServiceCollection services)
2937 Services = Check . NotNull ( services , nameof ( services ) ) ;
3038 Items = new Dictionary < string , object ? > ( ) ;
3139 }
32- }
40+ }
You can’t perform that action at this time.
0 commit comments