public MastodonPresenter(IMastodonRegisterClient registerClient, IMastodonAuthorizeAccountWithCode authorizeAccountWithCode, IMastodonGetAccountInfo getAccountInfo, IMakeMastodonConnection connection) { _registerClient = registerClient; _authorizeAccountWithCode = authorizeAccountWithCode; _getAccountInfo = getAccountInfo; _connection = connection; }
public AccountConnectionSwitcher(IMastodonAccountRepository mastodonAccountRepository, IMisskeyAccountRepository misskeyAccountRepository, IConnectionRepository connectionRepository, IMakeMastodonConnection makeMastodonConnection, IMakeMisskeyConnection makeMisskeyConnection) { _mastodonAccountRepository = mastodonAccountRepository; _misskeyAccountRepository = misskeyAccountRepository; _connectionRepository = connectionRepository; _makeMastodonConnection = makeMastodonConnection; _makeMisskeyConnection = makeMisskeyConnection; }
public AccountExistenceChecker(IConnectionRepository connectionRepository, IStartRegisteringAccount startRegisteringAccount, IStartApp startApp, IMastodonAccountRepository mastodonAccountRepository, IMakeMastodonConnection makeMastodonConnection, IMisskeyAccountRepository misskeyAccountRepository, IMakeMisskeyConnection makeMisskeyConnection) { _connectionRepository = connectionRepository; _startRegisteringAccount = startRegisteringAccount; _startApp = startApp; _mastodonAccountRepository = mastodonAccountRepository; _makeMastodonConnection = makeMastodonConnection; _misskeyAccountRepository = misskeyAccountRepository; _makeMisskeyConnection = makeMisskeyConnection; }
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; }