public DataPush(IWebHttpWebRequestFactory webHttpWebRequestFactory, IMappingToJson jsonMapper, IAnimeListRetriever animeListRetriever) { _userAgent = ConfigurationManager.AppSettings["UserAgent"]; _webHttpWebRequestFactory = webHttpWebRequestFactory; _jsonMapper = jsonMapper; _animeListRetriever = animeListRetriever; }
/// <summary> /// Constructor /// </summary> /// <param name="animeListRetriever"></param> /// <param name="mapper"></param> public MyListController(IAnimeListRetriever animeListRetriever, IMappingToJson mapper) { _animeListRetriever = animeListRetriever; _mapper = mapper; }
/// <summary> /// Constructor /// </summary> /// <param name="animeHandler"></param> /// <param name="animeListRetriever"></param> /// <param name="mapper"></param> public AnimeController(IAnimeHandler animeHandler, IAnimeListRetriever animeListRetriever, IMappingToJson mapper) { _animeHandler = animeHandler; _animeListRetriever = animeListRetriever; _mapper = mapper; }