addcontactargs.cs

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

CS
29
字号
using System;
using System.Collections.Generic;
using System.Text;
using GPCore.Protocols;

namespace GPCore.Args
{
    /// <summary>
    /// Message Flags a message Event
    /// </summary>

    class AddContactArgs : EventArgs
    {
        public string Alias;
        public string Group;
        public string Username;
        public IProtocol Protocol;

        public AddContactArgs(string username, IProtocol protocol) : this(username, protocol.ToString(), username, protocol) { }
        public AddContactArgs(string alias, string group, string username, IProtocol protocol)
        {
            this.Alias = alias;
            this.Group = group;
            this.Username = username;
            this.Protocol = protocol;
        }
    }
}

⌨️ 快捷键说明

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