コード例 #1
0
 public UserService(IUserDbHandler userDbHandler)
 {
     this.userDbHandler = userDbHandler;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountService"/> class.
 /// </summary>
 /// <param name="accountDbHandler">
 /// The account database handler
 /// </param>
 /// <param name="userDbHandler">
 /// The user database handler
 /// </param>
 public AccountService(IAccountDbHandler accountDbHandler, IUserDbHandler userDbHandler)
 {
     this.accountDbHandler = accountDbHandler;
     this.userDbHandler    = userDbHandler;
 }