Inheritance: TwitterQuery
示例#1
0
        public override void MergeQuery(TwitterQuery toMerge)
        {
            QueryFollow followMerge = toMerge as QueryFollow;

            if (followMerge != null)
            {
                idsToFollow.AddRange(followMerge.GetFollowedIDs());
            }
        }
示例#2
0
        public override void RemoveQuery(TwitterQuery toRemove)
        {
            QueryFollow followMerge = toRemove  as QueryFollow;

            if (followMerge != null)
            {
                foreach (int id in followMerge.GetFollowedIDs())
                {
                    idsToFollow.Remove(id);
                }
            }
        }