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