BaconographyPortable.ViewModel.ReadableArticleViewModel.LoadFullyImpl C# (CSharp) Method

LoadFullyImpl() private static method

private static LoadFullyImpl ( ISimpleHttpService httpService, string url ) : IEnumerable>>.Task
httpService ISimpleHttpService
url string
return IEnumerable>>.Task
        private static async Task<Tuple<string, IEnumerable<object>>> LoadFullyImpl(ISimpleHttpService httpService, string url)
        {
            string nextUrl = url;
            string title = null;
            List<object> result = new List<object>();
            while (!string.IsNullOrEmpty(nextUrl))
            {
                var loadResult = await LoadOneImpl(httpService, nextUrl, result);
                if (title == null)
                    title = loadResult.Item2;

                nextUrl = loadResult.Item1;
            }
            return Tuple.Create<string, IEnumerable<object>>(title, result);
        }
        public string LinkId { get; set; }