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

📄 locationpresence.cs

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

    public class LocationPresence
    {
        private string _city;
        private string _distance;

        public LocationPresence()
        {
        }

        public LocationPresence(string city, string distance)
        {
            this._city = city;
            this._distance = distance;
        }

        public void LoadXmlNode(XmlNode node)
        {
            node = node.SelectSingleNode("location");
            if (node != null)
            {
                this._city = XmlHelper.ReadXmlAttributeString(node, "city");
                this._distance = XmlHelper.ReadXmlAttributeString(node, "distance");
            }
        }

        public string City
        {
            get
            {
                return this._city;
            }
            set
            {
                this._city = value;
            }
        }

        public string Distance
        {
            get
            {
                return this._distance;
            }
            set
            {
                this._distance = value;
            }
        }
    }
}

⌨️ 快捷键说明

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