Пример #1
0
 /// <summary>
 /// 指定アカウントの依存情報を受信します。
 /// </summary>
 public static void ReceiveInidividualInfo(AccountInfo info)
 {
     // アカウント情報の受信
     SafeExec(() => UserStorage.Register(info.GetUserByScreenName(info.ScreenName)));
     // フォロー/フォロワー/ブロックの受信
     SafeExec(() => info.GetFriendIds(screenName: info.ScreenName).ForEach(i => info.RegisterFollowing(i)));
     SafeExec(() => info.GetFollowerIds(screenName: info.ScreenName).ForEach(i => info.RegisterFollower(i)));
     SafeExec(() => info.GetBlockingIds().ForEach(i => info.RegisterBlocking(i)));
 }