📄 fixedclientsetting.cs
字号:
{
text = this._dic.get_Item("ShowChatTime");
}
return text;
}
}
public bool DuringDebug
{
get
{
return this._duringDebug;
}
set
{
this._duringDebug = value;
}
}
public string HelpPage
{
get
{
string text = "http://www.fetion.com.cn/pchelp0.aspx";
if (this._dic.ContainsKey("HelpPage"))
{
text = this._dic.get_Item("HelpPage");
}
return text;
}
}
public int HTKeepAliveInterval
{
get
{
int num = 30;
if (this._dic.ContainsKey("HTKeepAliveInterval"))
{
int.TryParse(this._dic.get_Item("HTKeepAliveInterval"), ref num);
}
return num;
}
}
public string HTMode
{
get
{
string text = "Nav";
if (this._dic.ContainsKey("HTMode"))
{
text = this._dic.get_Item("HTMode");
}
return text;
}
}
public static Imps.Client.Core.FixedClientSetting Instance
{
get
{
return _instance;
}
}
[ConfigCategory(ConfigCategory.LocalFixed)]
public bool IsDebugEdtion
{
get
{
string text;
bool flag;
this.TryGetValue("DebugEdtion", out text);
if (bool.TryParse(text, ref flag))
{
return flag;
}
return false;
}
}
public bool IsReadOnly
{
get
{
return true;
}
}
[ConfigCategory(ConfigCategory.LocalFixed)]
public bool IsTraceEnabled
{
get
{
string text;
bool flag;
this.TryGetValue("TraceEnabled", out text);
if (bool.TryParse(text, ref flag))
{
return flag;
}
return false;
}
}
public string this[string key]
{
get
{
return this._dic.get_Item(key);
}
set
{
throw new Exception("The method or operation is not implemented.");
}
}
public ICollection<string> Keys
{
get
{
return this._dic.get_Keys();
}
}
public string KTSmsCode
{
get
{
return "KTFX";
}
}
public string LinkType
{
get
{
string text = string.Empty;
if (this._dic.ContainsKey("LinkType"))
{
text = this._dic.get_Item("LinkType");
}
if (text.Length <= 0)
{
return "Salamander";
}
return text;
}
}
public string LoggerArgs
{
get
{
string text = @"Folder=%AppData%\Fetion\Log;Type=1;HisLen=9;Threshold=10;Category=11001";
if (this._dic.ContainsKey("LoggerArgs"))
{
text = this._dic.get_Item("LoggerArgs");
}
return text;
}
}
public int MaxInviteIICNameLength
{
get
{
return 10;
}
}
public int MaxInviteRequestNameLength
{
get
{
return 10;
}
}
[ConfigCategory(ConfigCategory.LocalFixed)]
public string NavigatorServerUri
{
get
{
string text = "http://nav.fetion.com.cn/nav/getsystemconfig.aspx";
if (this._dic.ContainsKey("Navigator"))
{
text = this._dic.get_Item("Navigator");
}
return text;
}
}
public Imps.Client.Core.OemSetting OemSetting
{
get
{
return Imps.Client.Core.OemSetting.Instance;
}
}
public string SelfServiceUrl
{
get
{
string text = string.Empty;
if (this._dic.ContainsKey("SelfServiceUrl"))
{
text = this._dic.get_Item("SelfServiceUrl");
}
if (text.Length <= 0)
{
return "http://www.fetion.com.cn/account_jbzl.aspx";
}
return text;
}
}
public Imps.Client.ShareContentType ShareContentType
{
get
{
if (!this._shareContentType.get_HasValue())
{
string text;
this._shareContentType = 0xffff;
this.TryGetValue("ShareContentType", out text);
if (!string.IsNullOrEmpty(text))
{
try
{
this._shareContentType = new Imps.Client.ShareContentType?((Imps.Client.ShareContentType) Convert.ToInt32(text, 0x10));
}
catch
{
}
}
}
return this._shareContentType.get_Value();
}
}
[ConfigCategory(ConfigCategory.LocalFixed)]
public bool ShowChatTime
{
get
{
string text;
bool flag;
this.TryGetValue("ShowChatTime", out text);
if (bool.TryParse(text, ref flag))
{
return flag;
}
return false;
}
}
public bool SingleInstance
{
get
{
string text;
bool flag;
this.TryGetValue("SingleInstance", out text);
if (bool.TryParse(text, ref flag))
{
return flag;
}
return true;
}
}
public string SmsNo
{
get
{
return "10086";
}
}
[ConfigCategory(ConfigCategory.LocalFixed)]
public bool SupportVodafone
{
get
{
string text;
bool flag;
this.TryGetValue("SupportVodafone", out text);
if (bool.TryParse(text, ref flag))
{
return flag;
}
return false;
}
}
public string TestConnectionUrl
{
get
{
string text = "https://nav.fetion.com.cn/nav/tc.aspx";
if (this._dic.ContainsKey("TestConnectionUrl"))
{
text = this._dic.get_Item("TestConnectionUrl");
}
return text;
}
}
public ICollection<string> Values
{
get
{
return this._dic.get_Values();
}
}
public string Version
{
get
{
string text = "2.0.0.0";
if (this._dic.ContainsKey("Version"))
{
text = this._dic.get_Item("Version");
}
return text;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -