public GenerateReferenceData(IEnterprisesManagementService entMgr, IIdentityAccessService idMgr, ILogger <GenerateReferenceData> log, IEnterprisesHostingManagerService entHostMgr) { this.entMgr = entMgr; this.entHostMgr = entHostMgr; this.idMgr = idMgr; this.log = log; parentEntLookup = Environment.GetEnvironmentVariable("LCU-ENTERPRISE-LOOKUP"); bypassGenerateRefData = Environment.GetEnvironmentVariable("LCU-BYPASS-GENERATE-REFERENCE-DATA").As <bool>(); }
public Refresh(IApplicationsIoTService appIoTArch, IEnterprisesAPIManagementService entApiArch, IEnterprisesAsCodeService eacSvc, IEnterprisesManagementService entMgr, IEnterprisesHostingManagerService entHostMgr, IIdentityAccessService idMgr, ILogger <Refresh> log, ISecurityDataTokenService secMgr) { this.appIoTArch = appIoTArch; this.entApiArch = entApiArch; this.eacSvc = eacSvc; this.entMgr = entMgr; this.entHostMgr = entHostMgr; this.idMgr = idMgr; this.log = log; this.secMgr = secMgr; }