예제 #1
0
 public static GetMalRecsRequest CreateWithTargetScore(string recSourceName, int numRecsDesired, decimal targetScore, MalListForUser animeList)
 {
     return new GetMalRecsRequest()
     {
         RecSourceName = recSourceName,
         NumRecsDesired = numRecsDesired,
         TargetScore = targetScore,
         AnimeList = animeList
     };
 }
예제 #2
0
 public static GetMalRecsRequest CreateWithTargetFraction(string recSourceName, int numRecsDesired, decimal targetFraction, MalListForUser animeList)
 {
     return(new GetMalRecsRequest()
     {
         RecSourceName = recSourceName,
         NumRecsDesired = numRecsDesired,
         TargetFraction = targetFraction,
         AnimeList = animeList
     });
 }