mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
b22a4501cc
1. introduce variable 2. part of #389 3. refactoring program suffix in program plugin 4. 全局变量一时爽,代码重构火葬场
17 lines
562 B
C#
17 lines
562 B
C#
using Wox.Plugin;
|
|
|
|
namespace Wox.Core.UserSettings
|
|
{
|
|
public class HttpProxy : IHttpProxy
|
|
{
|
|
private static readonly HttpProxy instance = new HttpProxy();
|
|
public UserSettingStorage Settings { get; set; }
|
|
public static HttpProxy Instance => instance;
|
|
|
|
public bool Enabled => Settings.ProxyEnabled;
|
|
public string Server => Settings.ProxyServer;
|
|
public int Port => Settings.ProxyPort;
|
|
public string UserName => Settings.ProxyUserName;
|
|
public string Password => Settings.ProxyPassword;
|
|
}
|
|
} |