Exemplo n.º 1
0
 public ValuesController(ITokenInfoRepository tokenRepository, IUnitOfWork unitOfWork, ICompanyRepository companyRepository, IAuthenticationService authenticationService)
 {
     this.tokenRepository       = tokenRepository;
     this.unitOfWork            = unitOfWork;
     this.companyRepository     = companyRepository;
     this.authenticationService = authenticationService;
 }
Exemplo n.º 2
0
 public AuthenticationController(ITokenInfoRepository tokenRepository, IUserRepository userRepository, IUnitOfWork unitOfWork, ICompanyRepository companyRepository, IAuthenticationService authenticationService)
 {
     this.TokenRepository       = tokenRepository;
     this.UserRepository        = userRepository;
     this.UnitOfWork            = unitOfWork;
     this.CompanyRepository     = companyRepository;
     this.AuthenticationService = authenticationService;
 }
Exemplo n.º 3
0
 public ProfileDataService()
 {
     this._profileRepository      = (IProfileRepository)Mvx.get_IoCProvider().Resolve <IProfileRepository>();
     this._tokenInfoRepository    = (ITokenInfoRepository)Mvx.get_IoCProvider().Resolve <ITokenInfoRepository>();
     this._pushSettingsRepository = (IPushSettingsRepository)Mvx.get_IoCProvider().Resolve <IPushSettingsRepository>();
     this._secureStore            = (ISecureStore)Mvx.get_IoCProvider().Resolve <ISecureStore>();
     this._globalMobileApi        = (IGlobalMobileApi)Mvx.get_IoCProvider().Resolve <IGlobalMobileApi>();
     this._mobileApi = (IMobileApi)Mvx.get_IoCProvider().Resolve <IMobileApi>();
     this._pushNotificationHandler = (IPushNotificationHandler)Mvx.get_IoCProvider().Resolve <IPushNotificationHandler>();
     this._pushNotificationPlatformSpecificService = (IPushNotificationPlatformSpecificService)Mvx.get_IoCProvider().Resolve <IPushNotificationPlatformSpecificService>();
 }
Exemplo n.º 4
0
 public AuthenticationService(IUserRepository userRepository, IUnitOfWork unitOfWork, ITokenInfoRepository tokenInfoRepository)
 {
     this.UserRepository      = userRepository;
     this.UnitOfWork          = unitOfWork;
     this.TokenInfoRepository = tokenInfoRepository;
 }