1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 namespace System.Diagnostics
6 {
DataReceivedEventHandler(object sender, DataReceivedEventArgs e)7     public delegate void DataReceivedEventHandler(object sender, DataReceivedEventArgs e);
8 
9     public class DataReceivedEventArgs : EventArgs
10     {
11         private readonly string _data;
12 
DataReceivedEventArgs(string data)13         internal DataReceivedEventArgs(string data)
14         {
15             _data = data;
16         }
17 
18         public string Data
19         {
20             get { return _data; }
21         }
22     }
23 }
24