Beispiel #1
0
 public BundleConfigurationContext(IServiceProvider serviceProvider, IFileProvider fileProvider)
 {
     Files                = new List <string>();
     ServiceProvider      = serviceProvider;
     _lazyServiceProvider = ServiceProvider.GetRequiredService <IAbpLazyServiceProvider>();
     FileProvider         = fileProvider;
 }
 public ToolbarConfigurationContext(ITheme currentTheme, Toolbar toolbar, IServiceProvider serviceProvider)
 {
     Theme                = currentTheme;
     Toolbar              = toolbar;
     ServiceProvider      = serviceProvider;
     _lazyServiceProvider = ServiceProvider.GetRequiredService <IAbpLazyServiceProvider>();
 }
 public MenuConfigurationContext(ApplicationMenu menu, IServiceProvider serviceProvider)
 {
     Menu                 = menu;
     ServiceProvider      = serviceProvider;
     _lazyServiceProvider = ServiceProvider.GetRequiredService <IAbpLazyServiceProvider>();
 }
Beispiel #4
0
 public ToolbarConfigurationContext(Toolbar toolbar, IServiceProvider serviceProvider)
 {
     Toolbar              = toolbar;
     ServiceProvider      = serviceProvider;
     _lazyServiceProvider = ServiceProvider.GetRequiredService <IAbpLazyServiceProvider>();
 }