ipresence.cs

来自「Gibphone is CSharp Program, it can tell 」· CS 代码 · 共 34 行

CS
34
字号
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 + =
减小字号Ctrl + -
显示快捷键?