better.doc
[tfs.git] / tools / tfsnd / SmartIrc4net / IrcConnection / EventArgs.cs
blob6fee31c62fb0b4b4522afea431a57654f077f1b6
1 /*
2 * $Id: EventArgs.cs 200 2005-06-09 16:54:31Z meebey $
3 * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/IrcConnection/EventArgs.cs $
4 * $Rev: 200 $
5 * $Author: meebey $
6 * $Date: 2005-06-09 18:54:31 +0200 (Thu, 09 Jun 2005) $
8 * SmartIrc4net - the IRC library for .NET/C# <http://smartirc4net.sf.net>
10 * Copyright (c) 2003-2005 Mirco Bauer <meebey@meebey.net> <http://www.meebey.net>
12 * Full LGPL License: <http://www.gnu.org/licenses/lgpl.txt>
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 using System;
30 using System.Collections.Specialized;
32 namespace Meebey.SmartIrc4net
34 /// <summary>
35 ///
36 /// </summary>
37 public class ReadLineEventArgs : EventArgs
39 private string _Line;
41 public string Line {
42 get {
43 return _Line;
47 internal ReadLineEventArgs(string line)
49 _Line = line;
53 /// <summary>
54 ///
55 /// </summary>
56 public class WriteLineEventArgs : EventArgs
58 private string _Line;
60 public string Line {
61 get {
62 return _Line;
66 internal WriteLineEventArgs(string line)
68 _Line = line;
72 /// <summary>
73 ///
74 /// </summary>
75 public class AutoConnectErrorEventArgs : EventArgs
77 private Exception _Exception;
78 private string _Address;
79 private int _Port;
81 public Exception Exception {
82 get {
83 return _Exception;
87 public string Address {
88 get {
89 return _Address;
93 public int Port {
94 get {
95 return _Port;
99 internal AutoConnectErrorEventArgs(string address, int port, Exception ex)
101 _Address = address;
102 _Port = port;
103 _Exception = ex;