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

📄 ipresence.cs

📁 Gibphone is CSharp Program, it can tell you how to design p2p chat.
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace GPCore.Protocols
{
    /// <summary>
    /// An interface to extent IProtocol to allow for Presence information.
    /// </summary>
    public interface IPresence : IProtocol
    {
        /// <summary>
        /// The user's presence information.
        /// </summary>
        string Status { get;set;}
        /// <summary>
        /// Returns the type of Presence Types for this protocol
        /// </summary>
        /// <example>
        /// <code>
        /// string[] PresenceTypes
        /// {
        ///     get { return new string[] { "Available", "Away", "Offline" }; }
        /// }
        /// </code>
        /// </example>
        string[] PresenceTypes { get;}
        /// <summary>
        /// Requests the presence information of the given account.
        /// </summary>
        void GetStatus(String Username);
    }
}

⌨️ 快捷键说明

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