コード例 #1
0
        public Task <IReadOnlyList <Repository> > getRepos(string user)
        {
            //var repos = await github.Repository.GetAllForUser(user);
            var repos = cachePolicy.ExecuteAndCapture(async x => await github.Repository.GetAllForUser(user), new Context(user)).Result;

            return(repos);
        }