Пример #1
0
 public AuthController(IAuthLogin authLogin)
 {
     AuthLogin = authLogin;
 }
Пример #2
0
 /// <summary>
 /// Sets the interface used for authentication. Enables authentication if not null.
 /// </summary>
 /// <param name="authInterface"></param>
 public void SetAuthLogin(IAuthLogin authInterface) => AuthLogin = authInterface;
Пример #3
0
 public LendingService(IAuthLogin authLogin)
 {
     this._authLogin = authLogin;
 }