📄 ityping.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using GPCore.Args;
namespace GPCore.Protocols
{
/// <summary>
/// An interface to Extend <see cref="IProtocol"/> if it supports recieving
/// and sending TypingNotifications
/// </summary>
public interface ITyping : IProtocol
{
/// <summary>
/// Send a Typing Notification to the person
/// </summary>
/// <param name="Username">The Account of the person you wnat to inform</param>
/// <param name="type">The <see cref="TypingType"/> of the Notification</param>
void SendTypingNotification(String Username, TypingType type);
/// <summary>
/// The event sent when a Typing Notification is Received from a contact.
/// </summary>
/// <remarks>
/// The <paramref name="name"/> of this Event is "onTypingNotification"
/// and the Type of EventArgs is <see cref="TypingArgs"/>
/// </remarks>
//event NotifyCore onTypingNotification;
}
public static class TypingNotification
{
public static Event<ITyping, TypingArgs> NotificationRecieved = new Event<ITyping, TypingArgs>("NotificationRecieved");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -