diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2006-04-04 04:36:49 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2006-04-04 04:36:49 +0400 |
commit | 091cb74cc9dbae33fcbebf72572ee0e259f101d3 (patch) | |
tree | 5130e14e265744a92c3d9ef7a3dee1a623add7aa /mcs/class/System/System.Diagnostics/DataReceivedEventArgs.cs | |
parent | 197d66a841b5dede87b72e97693f2054517ade0a (diff) |
2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources: added DataReceivedEventArgs.cs and
DataReceivedEventHandler.cs.
* System_test.dll.sources : added StopwatchTest.cs.
* Stopwatch.cs:
Zoltan was quicker to add it, here I put my implementation ;-)
* Process.cs :
Added some missing long members (not implemented anyways).
* DataReceivedEventHandler.cs DataReceivedEventArgs.cs :
added new 2.0 types.
* StopwatchTest.cs : new test.
svn path=/trunk/mcs/; revision=58989
Diffstat (limited to 'mcs/class/System/System.Diagnostics/DataReceivedEventArgs.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/DataReceivedEventArgs.cs | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/mcs/class/System/System.Diagnostics/DataReceivedEventArgs.cs b/mcs/class/System/System.Diagnostics/DataReceivedEventArgs.cs new file mode 100644 index 00000000000..33329eec650 --- /dev/null +++ b/mcs/class/System/System.Diagnostics/DataReceivedEventArgs.cs @@ -0,0 +1,48 @@ +// +// DataReceivedEventArgs.cs +// +// Author: +// Atsushi Enomoto <atsushi@ximian.com> +// + +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// + +#if NET_2_0 + +namespace System.Diagnostics +{ + public class DataReceivedEventArgs : EventArgs + { + string data; + + internal DataReceivedEventArgs (string data) + { + this.data = data; + } + + public string Data { + get { return data; } + } + } +} + +#endif |