コード例 #1
0
 public AccountsController(LoginPresenter loginPresenter, RegisterPresenter registerPresenter, GetUserPresenter getUserPresenter, IAccountsHandler accountsHandler)
 {
     _loginPresenter    = loginPresenter;
     _registerPresenter = registerPresenter;
     _getUserPresenter  = getUserPresenter;
     _accountsHandler   = accountsHandler;
 }
コード例 #2
0
ファイル: WebhookDispatch.cs プロジェクト: sugar-pickle/Arc
 public GenericWebhookDispatch(ArcConfig config, IAccountsHandler accountsHandler, IArcLog arcLog)
 {
     if (config.WebhookEnabled)
     {
         configured = true;
         restClient = new RestClient(config.WebhookUrl);
     }
     this.accountsHandler = accountsHandler;
     this.arcLog          = arcLog;
 }