public InfectionService(IUserInfoManager userInfoManager, DBContext context, INotificationManager notificationManager, IExternalPlatformService externalPlatformService) { _userInfoManager = userInfoManager; _context = context; _notificationManager = notificationManager; _externalPlatformService = externalPlatformService; }
public CheckService(DBContext context, ILocationService locationService, IUserInfoManager userInfoManager, IExternalPlatformService externalPlatformService) { _context = context; _locationService = locationService; _userInfoManager = userInfoManager; _externalPlatformService = externalPlatformService; }
public CheckController(IUserInfoManager userInfoManager, DBContext context, ILocationService locationService, ICheckService checkService) { _context = context; _userInfoManager = userInfoManager; _locationService = locationService; _checkService = checkService; }
public LocationsController(UserManager <ApplicationUser> userManager, DBContext context, IUserInfoManager userInfoManager, ILocationService locationService) { _userManager = userManager; _userInfoManager = userInfoManager; _context = context; _locationService = locationService; }
public ReportsController(DBContext context, IUserInfoManager userInfoManager, IEmailSender emailSender, IInfectionService infectionManager) { _context = context; _userInfoManager = userInfoManager; _emailSender = emailSender; _infectionManager = infectionManager; }
public LoginService(ILoginManager loginManager, IUserInfoManager userInfoManager, IUserTokenService userTokenService) { UserTokenService = userTokenService; LoginManager = loginManager; InfoManager = userInfoManager; }
/// <summary> /// 构造函数 /// </summary> public UserInfoAppService( IRepository <UserInfo, Guid> userinfoRepository , IUserInfoManager userinfoManager ) { _userinfoRepository = userinfoRepository; _userinfoManager = userinfoManager; }
public StartViewModel(ApplicationUser user, IUserInfoManager userInfoManager) { this._user = user; this._userInfoManager = userInfoManager; this._user.UserId = _userInfoManager.GetUserInfoByLogin(user.Username).UserID; CloseCommand = new RelayCommand(CloseWindow, p => true); ExitCommand = new RelayCommand(Exit, p => true); OrderButtonCommand = new RelayCommand(ShowOrders, p => true); }
public LoginViewModel(IAuthManager security, IUserInfoManager userInfoManager, ApplicationUser user) { this._security = security; this._user = user; this._userInfoManager = userInfoManager; _LoginButtonCommand = new RelayCommand(Login, p => true); CloseCommand = new RelayCommand(CloseWindow, p => true); ExitCommand = new RelayCommand(Exit, p => true); }
public UserPage(IUserInfoManager userInfoManager, IApplicationUser user, ICountryManager countryManager, IAdressManager adressManager, ICardInfoMananger cardInfoMananger) { this._user = user; this._userInfoManager = userInfoManager; this._countryManager = countryManager; this._adressManager = adressManager; this._cardInfoMananger = cardInfoMananger; InitializeComponent(); InitFields(); }
public LoginForm(IAuthManager manager, IRegisterManager registerManager, IAdressManager adressManager, IBankManager bankManager, ICountryManager countryManager, IUserInfoManager userInfoManager, IApplicationUser user) { InitializeComponent(); _manager = manager; this._registerManager = registerManager; this._adressManager = adressManager; this._bankManager = bankManager; this._countryManager = countryManager; this._user = user; this._userInfoManager = userInfoManager; }
public UserStartPage(IApplicationUser user, ICategoryManager categoryManager, IItemManager itemManager, IOrderManager orderManager, IOrderedManager orderedManager, IOrderStatusManager orderStatusManager, IUserInfoManager userInfoManager) { InitializeComponent(); this._user = user; this._itemManager = itemManager; this._orderManager = orderManager; this._orderedManager = orderedManager; this._orderStatusManager = orderStatusManager; this._userInfoManager = userInfoManager; InitFields(); }
public MainController(IMoneyContainer container, IMoneyUserManager moneyUserManager, IMoneyRoleManager moneyRoleManager, ILogManager logManager, IRegistration registration, IUserInfoManager userInfoManager, IAccountDatabaseManager accDatabaseManager, IAuthentication authentication, IMoneyImageParser moneyImageParser, IPermissionManager permissionManager) { this.container = container; _moneyUserManager = moneyUserManager; _moneyRoleManager = moneyRoleManager; _logManager = logManager; _userInfoManager = userInfoManager; _registration = registration; _accDatabaseManager = accDatabaseManager; _authentication = authentication; _permissionManager = permissionManager; _moneyImageParser = moneyImageParser; }
/// <summary> /// 设置初始账号 /// </summary> private void SetInitAccount() { IApplicationContext cxt = ContextRegistry.GetContext(); IUserInfoManager manger = (IUserInfoManager)cxt.GetObject("Manager.UserInfo"); const string account = "admin"; var user = manger.Get(account); if (user == null) { user = new Domain.UserInfo { Account = account, Name = "管理员", ID = Guid.NewGuid(), CreateTime = DateTime.Now, IsEnabled = true }; manger.Save(user); } }
public Authentication(IUserInfoManager usr) { _user = usr; }
public SecurityController(IUserInfoManager usr) { _user = usr; }
public UserInfoController(IUserInfoManager users) { _users = users; }
public StatisticsController(IUserInfoManager userInfoManager, DBContext context) { _userInfoManager = userInfoManager; _context = context; }
public Authorization(IUserInfoManager usr) { _user = usr; }