示例#1
0
 public IdeasByTagResponse(string username)
 {
     IdeaFilter = new IdeaFilter(username);
     Ideas = new IdeaByTagResponse[0];
 }
示例#2
0
        private IEnumerable<IdeaByTagResponse> SelectRandom(IdeaByTagResponse[] ideas)
        {
            var randomOrder = ideas.Shuffle(new Random());

            return new[] {randomOrder.FirstOrDefault()};
        }