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