Пример #1
0
 public AuthorizeMastodonAccount(IConnectionRepository connectionRepository,
                                 IMastodonClientRepository mastodonClientRepository,
                                 IMastodonAccountRepository mastodonAccountRepository,
                                 IAuthorizeMastodonAccountWithCode authorizeMastodonAccountWithCode,
                                 IShowMastodonAuthenticationError showMastodonAuthenticationError,
                                 IGetAccountInfo getAccountInfo,
                                 IShowGetMastodonAccountInfoError showGetMastodonAccountInfoError,
                                 IMakeMastodonConnection makeMastodonConnection,
                                 IFinishAuthorizeMastodonAccount finishAuthorizeMastodonAccount)
 {
     _connectionRepository             = connectionRepository;
     _mastodonClientRepository         = mastodonClientRepository;
     _mastodonAccountRepository        = mastodonAccountRepository;
     _authorizeMastodonAccountWithCode = authorizeMastodonAccountWithCode;
     _showMastodonAuthenticationError  = showMastodonAuthenticationError;
     _getAccountInfo = getAccountInfo;
     _showGetMastodonAccountInfoError = showGetMastodonAccountInfoError;
     _makeMastodonConnection          = makeMastodonConnection;
     _finishAuthorizeMastodonAccount  = finishAuthorizeMastodonAccount;
 }
 public AccountController(IGetAccountInfo getAccountInfo)
 {
     _getAccountInfo = getAccountInfo;
 }