public AnimeListRetriever(IWebHttpWebRequestFactory webHttpWebRequestFactory, IAnimeFactory animeFactory, IMappingToJson mapper)
 {
     _webHttpWebRequestFactory = webHttpWebRequestFactory;
     _userAgent = ConfigurationManager.AppSettings["UserAgent"];
     _animeFactory = animeFactory;
     _mapper = mapper;
 }
 public MappingToJson(IMappingEngine mappingEngine, IAnimeFactory factory, ICharacterFactory characterFactory)
 {
     _mappingEngine = mappingEngine;
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IAnime), typeof (IAnimeOriginalJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IAnimeDetails), typeof (IAnimeDetailsJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IAnimeDetailsJson), typeof (IAnimeDetails));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IAnimeDetails), typeof (IAnimeDetailsXml));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IListAnimeXml), typeof (IListAnime));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IMyInfoXml), typeof (IMyInfo));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IMyAnimeList), typeof (IMyAnimeListJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IMyInfo), typeof (IMyInfoJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IListAnime), typeof (IListAnimeJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (ICharacterInformation), typeof (ICharacterInformationJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (ISeiyuuInformation), typeof (ISeiyuuInformationJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IAnimeography), typeof (IAnimeographyJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IMangaography), typeof (IMangaographyJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (ICharacterInformation), typeof (ICharacterInformationJson));
     _factory = factory;
     _characterFactory = characterFactory;
 }
 public MappingToJson(IMappingEngine mappingEngine, IAnimeFactory factory, ICharacterFactory characterFactory)
 {
     _mappingEngine = mappingEngine;
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IAnime), typeof(IAnimeOriginalJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IAnimeDetails), typeof(IAnimeDetailsJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IAnimeDetailsJson), typeof(IAnimeDetails));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IAnimeDetails), typeof(IAnimeDetailsXml));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IListAnimeXml), typeof(IListAnime));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IMyInfoXml), typeof(IMyInfo));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IMyAnimeList), typeof(IMyAnimeListJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IMyInfo), typeof(IMyInfoJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IListAnime), typeof(IListAnimeJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(ICharacterInformation), typeof(ICharacterInformationJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(ISeiyuuInformation), typeof(ISeiyuuInformationJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IAnimeography), typeof(IAnimeographyJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(IMangaography), typeof(IMangaographyJson));
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof(ICharacterInformation), typeof(ICharacterInformationJson));
     _factory          = factory;
     _characterFactory = characterFactory;
 }
 public AnimeRetriever(IAnimeFactory animeFactory, ICharacterFactory characterFactory, IUrlHelper urlHelper)
 {
     _animeFactory = animeFactory;
     _characterFactory = characterFactory;
     _urlHelper = urlHelper;
 }
 public MappingToJson(IMappingEngine mappingEngine, IAnimeFactory factory)
 {
     _mappingEngine = mappingEngine;
     _mappingEngine.ConfigurationProvider.CreateTypeMap(typeof (IAnime), typeof (IAnimeOriginalJson));
     _factory = factory;
 }
Example #6
0
 public AnimeRetriever(IAnimeFactory animeFactory, ICharacterFactory characterFactory, IUrlHelper urlHelper)
 {
     _animeFactory = animeFactory;
     _characterFactory = characterFactory;
     _urlHelper = urlHelper;
 }
 public AnimeRetriever(IAnimeFactory animeFactory)
 {
     _animeFactory = animeFactory;
 }