public ImpersonationController( IRhetosComponent <IUserInfo> userInfo, IRhetosComponent <ImpersonationService> impersonationService, IRhetosComponent <ImpersonationContext> rhetosImpersonationContext) { this.userInfo = userInfo.Value; this.impersonationService = impersonationService.Value; this.impersonationContext = rhetosImpersonationContext.Value; }
public ImpersonationController(IUserInfo userInfo, ImpersonationService impersonationService, IRhetosComponent <ImpersonationContext> rhetosImpersonationContext) { this.userInfo = userInfo; this.impersonationService = impersonationService; this.rhetosImpersonationContext = rhetosImpersonationContext; }