private IPreloaderSetup GetPreloaderSetup(BrandEntity brand, SkinEntity skin) { using (var webClient = _serviceLocator.GetInstance <IWebClientFactory>().CreateWebClient()) { return(_preloaderSetupParser.Parse(CCKUtils.ReadPreloaderSetup(brand, skin, webClient))); } }
public bool CanHandle(BrandEntity brand, SkinEntity skin) { using (var webClient = _serviceLocator.GetInstance <IWebClientFactory>().CreateWebClient()) { return(CCKUtils.IsCCKClient(brand, skin, webClient)); } }