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