示例#1
0
 private static IEnumerable <TagStatistic> GetTestTagStatistics()
 {
     return(new List <TagStatistic>
     {
         TagStatistic.ForMainTag("Friend", 300, 0.2m, 0.2m),
         TagStatistic.ForMainTag("Beach", 100, 0.3m, 0.2m),
         TagStatistic.ForMainTag("Mountain", 5, 0.2m, 0.2m),
         TagStatistic.ForChildTag("Kenobi", "Friend", 35, 0.2m, 0.2m),
         TagStatistic.ForChildTag("Pepe", "Friend", 11, 0.2m, 0.2m),
         TagStatistic.ForChildTag("Everest", "Mountain", 1, 0.01m, 0.2m)
     });
 }
 private static IEnumerable <TagStatistic> GetAllTags()
 {
     return(new List <TagStatistic>
     {
         TagStatistic.ForMainTag("Beach", 200, 0.2m, 0.1m),
         TagStatistic.ForMainTag("Friend", 180, 0.2m, 0.1m),
         TagStatistic.ForMainTag("Country side", 200, 0.2m, 0.1m),
         TagStatistic.ForChildTag("Pepe", "Friend", 80, 0.2m, 0.2m),
         TagStatistic.ForChildTag("Kenobi", "Friend", 99, 0.2m, 0.2m),
         TagStatistic.ForChildTag("Griveous", "Friend", 10, 0.2m, 0.2m)
     });
 }