📄 profile.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace NewsReader
{
[Serializable]
public class Profile
{
/// <summary>
/// 频道集合
/// </summary>
private Dictionary<string, FeedBase> feeds = new Dictionary<string, FeedBase>();
public Dictionary<string, FeedBase> Feeds
{
get { return feeds; }
set { feeds = value; }
}
/// <summary>
/// 是否需要自动刷新
/// </summary>
private bool enbleFeedAutoUpdate;
public bool EnbleFeedAutoUpdate
{
get { return enbleFeedAutoUpdate; }
set { enbleFeedAutoUpdate = value; }
}
/// <summary>
/// 刷新间隔
/// </summary>
private int IntervalToRefresh;
public int IntervalToRefresh1
{
get { return IntervalToRefresh; }
set { IntervalToRefresh = value; }
}
/// <summary>
/// 是否需要自动更新
/// </summary>
private bool enableNewVerAutoDetection;
public bool EnableNewVerAutoDetection
{
get { return enableNewVerAutoDetection; }
set { enableNewVerAutoDetection = value; }
}
private bool enableProxy;
public bool EnableProxy
{
get { return enableProxy; }
set { enableProxy = value; }
}
private string proxyIP = null;
public string ProxyIP
{
get { return proxyIP; }
set { proxyIP = value; }
}
private string proxyPort = null;
public string ProxyPort
{
get { return proxyPort; }
set { proxyPort = value; }
}
private string proxyUserID = null;
public string ProxyUserID
{
get { return proxyUserID; }
set { proxyUserID = value; }
}
private string proxyUserPwd = null;
public string ProxyUserPwd
{
get { return proxyUserPwd; }
set { proxyUserPwd = value; }
}
//系统语言
private UILanguage language;
public UILanguage Language
{
get { return language; }
set { language = value; }
}
public Profile(){}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -