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