public JoyController(IJokeBLL jokeBLL, IAccountBLL accountBLL, IIsReadBLL isReadBLL) : base(accountBLL) { JokeBLL = jokeBLL; AccountBLL = accountBLL; IsReadBLL = isReadBLL; }
static DependencyResolver() { _awardDAO = new JsonAwardDAO(); _userDAO = new JsonUserDAO(); _accountDAO = new JsonAccountDAO(); _userLogic = new UserManager(_userDAO, _awardDAO); _awardLogic = new AwardManager(_awardDAO, _userDAO); _accountLogic = new AccountManager(_accountDAO); }
private readonly IAccountBLL _userSystemBLL; //#构造函数注入 public AccountController(IAccountBLL userSystemBLL, ILogger <BaseApiController> log) : base(log) { _userSystemBLL = new AccountBusinessBridge(); }
public AccountController(IAccountBLL model) { this.model = model; }
public AccountController( IAccountBLL model ) { this.model = model; }
public UserAccountController() { _userBll = new AccountBLL(); }
public IViewController(IAccountBLL userSystemBLL) { _userSystemBLL = userSystemBLL; }
public AccountController(IConfiguration configuration, IAccountBLL accountBLL) { Configuration = configuration; AccountBLL = accountBLL; }
public BankingController(IAccountBLL account) { _account = account; }
// Test environment. public AdminController(IAdminBLL admin_stub, IAccountBLL acc_stub) { _adminBLL = admin_stub; _accBLL = acc_stub; }
// Actual data public AdminController() { _adminBLL = new AdminBLL(); _accBLL = new AccountBLL(); }
public SystemRegistController(IAccountBLL accountBLL) { AccountBLL = accountBLL; }
public AccountController(IAccountBLL accountBLL) { this.AccountBLL = accountBLL; }