Ejemplo n.º 1
0
 public WPUserService(WPCacheService cache, WPProxySettings settings, WPProxySiteSettingsAccessor siteSettings, WPApiClient wpApi)
 {
     Cache        = cache;
     Settings     = settings;
     SiteSettings = siteSettings;
     WPApi        = wpApi;
 }
Ejemplo n.º 2
0
 public WPCacheService(IMemoryCache memoryCache, IDistributedCache distributedCache, WPProxySettings settings, WPProxySiteSettingsAccessor siteSettings, WPApiClient client)
 {
     MemoryCache      = memoryCache;
     DistributedCache = distributedCache;
     Settings         = settings;
     SiteSettings     = siteSettings;
     Wordpress        = client;
 }