public AccountAppServiceTests() { this.subRepositoryUserLong = Resolve <IRepository <User, long> >(); this.subUserRegistrationManager = Resolve <UserRegistrationManager>(); this.subClientFavouriteManager = Resolve <IClientFavouriteManager>(); this.subSMSManager = Resolve <ISMSManager>(); this.subSmartContractAppService = Resolve <ISmartContractAppService>(); this.subAbpSession = Resolve <IAbpSession>(); this.subTenantCache = Resolve <ITenantCache>(); this.subConfiguration = Resolve <IConfiguration>(); this.subAbpLoginResultTypeHelper = Resolve <AbpLoginResultTypeHelper>(); this.subRoleAppService = Resolve <IRoleAppService>(); this.subLogger = Resolve <ILogger <AccountAppService> >(); this.subRepositoryAgentProfileLong = Resolve <IRepository <AgentProfile, long> >(); this.subRepositoryAgentCompany = Resolve <IRepository <AgentCompany> >(); this.subRepositoryAgentCompanyBranch = Resolve <IRepository <AgentCompanyBranch> >(); this.subRepositoryUserRoleLong = Resolve <IRepository <UserRole, long> >(); this.subRepositoryAgentPreferredCategory = Resolve <IRepository <AgentPreferredCategory> >(); this.subRepositoryAgentPreferredSubDistrict = Resolve <IRepository <AgentPreferredSubDistrict> >(); this.subUserManager = Resolve <UserManager>(); this.subLogInManager = Resolve <LogInManager>(); this.subSmartUserDocUploadAppService = Resolve <ISmartUserDocUploadAppService>(); this.subRepositorySmartAgreementLease = Resolve <IRepository <Core.Models.SmartAgreementLease> >(); this.subRepositorySmartAgreementSell = Resolve <IRepository <Core.Models.SmartAgreementSell> >(); this.subRepositorySmartContract = Resolve <IRepository <Core.Models.SmartContract> >(); this.subRepositorySmartUserToken = Resolve <IRepository <Core.Models.SmartUserToken> >(); this.subAgentManager = Resolve <AgentManager>(); }
public UserRegistrationManager( TenantManager tenantManager, UserManager userManager, RoleManager roleManager, ISmtpEmailSender emailSender, IAppNotifier appNotifier, ISMSManager smsManager, ICacheManager cacheManager, ICaptchaManager captchaManager, IRepository <ThirdPartyUser, long> thirdPartyUserRepository, IPasswordHasher <User> passwordHasher) { _tenantManager = tenantManager; _userManager = userManager; _roleManager = roleManager; _emailSender = emailSender; _appNotifier = appNotifier; _smsManager = smsManager; _cacheManager = cacheManager; _captchaManager = captchaManager; _thirdPartyUserRepository = thirdPartyUserRepository; _passwordHasher = passwordHasher; AbpSession = NullAbpSession.Instance; }
public OptimalPackageManager() { packageManager = GetContainer().Resolve <IPackageManager>(); crmManager = GetContainer().Resolve <ICRMManager>(); smsManager = GetContainer().Resolve <ISMSManager>(); callManager = GetContainer().Resolve <ICallManager>(); lineManager = GetContainer().Resolve <ILineManager>(); }
public frmYeniCari() { InitializeComponent(); _cari = kernel.Get <ICarilerManager>(); _sms = kernel.Get <ISMSManager>(); _sms.SetAuth(); _hash = kernel.Get <IHashManager>(); musterilerBindingSource.AllowNew = true; musterilerBindingSource.DataSource = _cariModel; }
public ReportsEngineManager() { _clientTypeManager = GetContainer().Resolve <IClientTypeManager>(); _smsManager = GetContainer().Resolve <ISMSManager>(); _callManager = GetContainer().Resolve <ICallManager>(); _clientManager = GetContainer().Resolve <IClientManager>(); _packageManager = GetContainer().Resolve <IPackageManager>(); _lineManager = GetContainer().Resolve <ILineManager>(); _crmManager = GetContainer().Resolve <ICRMManager>(); }
public AccountAppService( UserRegistrationManager userRegistrationManager, ISMSManager smsManager, LogInManager loginManager, UserManager userManager) { _userRegistrationManager = userRegistrationManager; _smsManager = smsManager; _loginManager = loginManager; _userManager = userManager; }
/// <summary> /// 构造函数 /// </summary> /// <param name="logInManager"></param> /// <param name="cacheManager"></param> public SMSLoginController( LogInManager logInManager, ICacheManager cacheManager, ICaptchaManager captchaManager, UserManager userManager, ISMSManager smsManager ) { _logInManager = logInManager; _cacheManager = cacheManager; _captchaManager = captchaManager; LocalizationSourceName = MFConsts.LocalizationSourceName; _smsManager = smsManager; _userManager = userManager; }
/// <summary> /// 构造函数 /// </summary> /// <param name="userRegistrationManager"></param> /// <param name="smsManager"></param> /// <param name="loginManager"></param> /// <param name="passwordComplexityChecker"></param> /// <param name="captchaManager"></param> public RegisterAppService( UserRegistrationManager userRegistrationManager, ISMSManager smsManager, LogInManager loginManager, PasswordComplexityChecker passwordComplexityChecker, ICacheManager cacheManager, UserManager userManager, ICaptchaManager captchaManager) { _userRegistrationManager = userRegistrationManager; _smsManager = smsManager; _loginManager = loginManager; _passwordComplexityChecker = passwordComplexityChecker; _cacheManager = cacheManager; _userManager = userManager; _captchaManager = captchaManager; }
public frmCarilerList() { InitializeComponent(); lock (_smsLock) { if (_sms == null) { _sms = kernel.Get <ISMSManager>(); } } _sms.SetAuth(); _cari = kernel.Get <ICarilerManager>(); if (_selectedModel == null) { cariIslemTop.Enabled = false; return; } ; musterilerBindingSource.DataSource = _selectedModel; }
public accountController() { #region Cihaz Hareketleri İçin Kullanılan Modüller lock (_hareketLock) { if (_hareket == null) { _hareket = kernel.Get <IMusteriHareketManager>(); } } lock (_clientLock) { if (_client == null) { _client = kernel.Get <IClientManager>(); } } #endregion lock (_hashLock) { if (_hash == null) { _hash = kernel.Get <IHashManager>(); } } lock (_cariLock) { if (_cari == null) { _cari = kernel.Get <ICarilerManager>(); } } lock (_smsLock) { if (_sms == null) { _sms = kernel.Get <ISMSManager>(); } } }
/// <summary> /// 构造函数 /// </summary> public ThirdPartyLoginForTokenController( LogInManager logInManager, ICacheManager cacheManager, ICaptchaManager captchaManager, UserManager userManager, ISMSManager smsManager, QQAuthService qqAuthService, WeixinAuthService weixinAuthService, WeiboAuthService weiboAuthService, AlipayAuthService alipayAuthService ) { _logInManager = logInManager; _cacheManager = cacheManager; _captchaManager = captchaManager; LocalizationSourceName = MFConsts.LocalizationSourceName; _smsManager = smsManager; _userManager = userManager; _qqAuthService = qqAuthService; _weixinAuthService = weixinAuthService; _weiboAuthService = weiboAuthService; _alipayAuthService = alipayAuthService; }
public InvoiceManager() { callManager = GetContainer().Resolve <ICallManager>(); smsManager = GetContainer().Resolve <ISMSManager>(); crmManager = GetContainer().Resolve <ICRMManager>(); }
public SMSManager(ISMSManager manager) { _manager = manager; }