Beispiel #1
0
        public async Task <Int32> GetCountOfQueued(string blog)
        {
            Int32 result = 0;

            BasePost[] test;

            test = await client.GetQueuedPostsAsync(blog);

            while (test.Count() == 20)
            {
                result = result + 20;

                test = await client.GetQueuedPostsAsync(blog);
            }

            result = result + test.Count();

            return(result);
        }