Beispiel #1
0
 public PlugInController(IBaseTenantContext db, IInjectablePlugin <WebPluginAnalyzer> analyzer, IServiceProvider services)
 {
     this.db       = db;
     this.analyzer = analyzer;
     if (!services.VerifyUserPermissions(new[] { EntityFramework.TenantSecurityShared.Helpers.ToolkitPermission.Sysadmin }))
     {
         db.HideGlobals = true;
         isSysAdmin     = false;
     }
     else
     {
         db.ShowAllTenants = true;
         isSysAdmin        = true;
     }
 }
 public PlugInAnalyzer(IInjectablePlugin <WebPluginAnalyzer> localLoader = null, IInjectableProxy <ILoaderInterface> remoteLoader = null)
 {
     this.localLoader  = localLoader;
     this.remoteLoader = remoteLoader;
 }
 public AssemblyDiagnosticsController(IInjectablePlugin <IConfigurationHandler> configurator, IHierarchySettings <ConfigExchangeOptions> options)
 {
     this.configurator = configurator;
     this.options      = options.Value;
 }