コード例 #1
0
ファイル: IrcClient.cs プロジェクト: Jaika1/MizuiroBot
        private async Task ReadMessageLoop()
        {
            while (true)
            {
                string msg = await inStream.ReadLineAsync();

                IrcMessageReceived?.Invoke(this, new IrcMessageRecievedEventArgs(msg));
            }
        }
コード例 #2
0
 protected virtual void OnIrcMessageReceived(IrcMessage message)
 {
     IrcMessageReceived?.Invoke(this, new IrcMessageReceivedEventArgs(message));
 }