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