public AccountService(HttpClient client)
        {
            _accountRepository      = new AccountRepository(client);
            _accountTokenRepository = new AccountTokenRepository(client);

            AccountStore   = AccountStore.Create();
            XamarinAccount = AccountStore.FindAccountsForService(Constants.AppName).FirstOrDefault();
        }
示例#2
0
 public AccountTokenService(HttpClient client)
 {
     Repository = new AccountTokenRepository(client);
 }