⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverurisetting.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Core
{
    using System;
    using System.Text;

    public class ServerUriSetting : PropertyDictionary
    {
        private Imps.Client.Core.SystemSetting _systemSetting;

        internal ServerUriSetting(Imps.Client.Core.SystemSetting sysSetting)
        {
            this._systemSetting = sysSetting;
        }

        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();
            builder.Append(string.Format("<servers version=\"{0}\">", this._systemSetting.SvrUriVerion));
            builder.Append(string.Format("<{0}>{1}</{0}>", "server-caps", this.ServerCaps));
            builder.Append(string.Format("<{0}>{1}</{0}>", "server-version", this.ServerVersion));
            builder.Append(string.Format("<sipc-proxy>{0}</sipc-proxy>", this.SipcProxy));
            builder.Append(string.Format("<http-tunnel>{0}</http-tunnel>", this.UriHttpTunnel));
            builder.Append(string.Format("<get-pic-code>{0}</get-pic-code>", this.UriGetPicCode));
            builder.Append(string.Format("<get-system-status>{0}</get-system-status>", this.UriGetSystemStatus));
            builder.Append(string.Format("<j2me-adapter>{0}</j2me-adapter>", this.UriJ2meAdapter));
            builder.Append(string.Format("<portal>{0}</portal>", this.UriPortal));
            builder.Append(string.Format("<get-uri>{0}</get-uri>", this.UriGet));
            builder.Append(string.Format("<sub-service>{0}</sub-service>", this.UriSubSvc));
            builder.Append(string.Format("<apply-sub-service>{0}</apply-sub-service>", this.UriApplySubSvc));
            builder.Append(string.Format("<ssi-app-sign-in>{0}</ssi-app-sign-in>", this.UriSsiAppSignIn));
            builder.Append(string.Format("<ssi-app-sign-out>{0}</ssi-app-sign-out>", this.UriSsiAppSignOut));
            builder.Append(string.Format("<get-general-info>{0}</get-general-info>", this.UriGetGeneralInfo));
            builder.Append(string.Format("<group-category>{0}</group-category>", this.GroupCategory));
            builder.Append(string.Format("<group-website>{0}</group-website>", this.GroupWebsite));
            builder.Append(string.Format("<{0}>{1}</{0}>", "stun-urls", this.UriStun));
            builder.Append(string.Format("<{0}>{1}</{0}>", "get-svc-order-status", this.UriGetSvcOrderStatus));
            builder.Append(string.Format("<{0}>{1}</{0}>", "email-adapter", this.EmailAdapter));
            builder.Append(string.Format("<{0}>{1}</{0}>", "matching-portal", this.MatchingPortal));
            builder.Append(string.Format("<{0}>{1}</{0}>", "crbt-portal", this.CrbtPortal));
            builder.Append("</servers>");
            return builder.ToString();
        }

        public string CrbtPortal
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("crbt-portal");
            }
        }

        public string EmailAdapter
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("email-adapter");
            }
        }

        public string GroupCategory
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("group-category");
            }
        }

        public string GroupWebsite
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("group-website");
            }
        }

        public bool MatchingEnabled
        {
            get
            {
                return !string.IsNullOrEmpty(this.MatchingPortal);
            }
        }

        public string MatchingPortal
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("matching-portal");
            }
        }

        public string ServerCaps
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("server-caps");
            }
        }

        public string ServerVersion
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("server-version");
            }
        }

        public string SipcProxy
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("sipc-proxy");
            }
        }

        public string SipcSslProxy
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("sipc-ssl-proxy");
            }
        }

        public string UriApplySubSvc
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("apply-sub-service");
            }
        }

        public string UriCrbtCommonAccess
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("crbt-common-access");
            }
        }

        public string UriGet
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-uri");
            }
        }

        public string UriGetAD
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-ad");
            }
        }

        public string UriGetGeneralInfo
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-general-info");
            }
        }

        public string UriGetPersonalExInfo
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-personal-ext-info");
            }
        }

        public string UriGetPersonalInfo
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-personal-info");
            }
        }

        public string UriGetPicCode
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-pic-code");
            }
        }

        public string UriGetSvcOrderStatus
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-svc-order-status");
            }
        }

        public string UriGetSystemStatus
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-system-status");
            }
        }

        public string UriGetTabInfo
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("get-tab-info");
            }
        }

        public string UriHttpTunnel
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("http-tunnel");
            }
        }

        public string UriInitProfile
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("set-personal-info");
            }
        }

        public string UriJ2meAdapter
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("j2me-adapter");
            }
        }

        public string UriModifyPassword
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("update-pwd");
            }
        }

        public string UriPortal
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("portal");
            }
        }

        public string UriSetToneInfo
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("set-tone-info");
            }
        }

        public string UriSsiAppSignIn
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("ssi-app-sign-in");
            }
        }

        public string UriSsiAppSignOut
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("ssi-app-sign-out");
            }
        }

        public string UriStun
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("stun-urls");
            }
        }

        public string UriSubSvc
        {
            get
            {
                return this._systemSetting.GetPropertyValue<string>("sub-service");
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -