Esempio n. 1
0
 public AccountDeleter(IMastodonAccountRepository mastodonAccountRepository,
                       IMisskeyAccountRepository misskeyAccountRepository,
                       IConnectionRepository connectionRepository)
 {
     _mastodonAccountRepository = mastodonAccountRepository;
     _misskeyAccountRepository  = misskeyAccountRepository;
     _connectionRepository      = connectionRepository;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 4
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 AllAccountsProvider(IMastodonAccountRepository mastodonAccountRepository,
                            IMisskeyAccountRepository misskeyAccountRepository)
 {
     _mastodonAccountRepository = mastodonAccountRepository;
     _misskeyAccountRepository  = misskeyAccountRepository;
 }
Esempio n. 6
0
 public MastodonTimelineItemReceiver(IReadingTextContainerRepository readingTextContainerRepository,
                                     IMastodonAccountRepository mastodonAccountRepository)
 {
     _readingTextContainerRepository = readingTextContainerRepository;
     _mastodonAccountRepository      = mastodonAccountRepository;
 }