Esempio n. 1
0
 public WPUserService(WPCacheService cache, WPProxySettings settings, WPProxySiteSettingsAccessor siteSettings, WPApiClient wpApi)
 {
     Cache        = cache;
     Settings     = settings;
     SiteSettings = siteSettings;
     WPApi        = wpApi;
 }
Esempio n. 2
0
 public WPMessageHandler(IFileStore fileStore, IHttpContextAccessor httpContext, WPCacheService cache, WPUserService userService, WPProxySettings settings, WPProxySiteSettingsAccessor siteSettings) : base(new SocketsHttpHandler()
 {
     UseProxy               = false,
     AllowAutoRedirect      = false,
     AutomaticDecompression = DecompressionMethods.All,
     UseCookies             = false
 })
 {
     FileStore    = fileStore;
     Context      = httpContext;
     Cache        = cache;
     UserService  = userService;
     Settings     = settings;
     SiteSettings = siteSettings;
 }