33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace System.Diagnostics
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.Diagnostics.Process.OutputDataReceived" /> and <see cref="E:System.Diagnostics.Process.ErrorDataReceived" /> events.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x020000DF RID: 223
|
|
public class DataReceivedEventArgs : EventArgs
|
|
{
|
|
// Token: 0x06000773 RID: 1907 RVA: 0x00013F58 File Offset: 0x00012158
|
|
internal DataReceivedEventArgs(string data)
|
|
{
|
|
this.data = data;
|
|
}
|
|
|
|
/// <summary>Gets the line of characters that was written to a redirected <see cref="T:System.Diagnostics.Process" /> output stream.</summary>
|
|
/// <returns>The line that was written by an associated <see cref="T:System.Diagnostics.Process" /> to its redirected <see cref="P:System.Diagnostics.Process.StandardOutput" /> or <see cref="P:System.Diagnostics.Process.StandardError" /> stream.</returns>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x170001C5 RID: 453
|
|
// (get) Token: 0x06000774 RID: 1908 RVA: 0x00013F68 File Offset: 0x00012168
|
|
public string Data
|
|
{
|
|
get
|
|
{
|
|
return this.data;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000218 RID: 536
|
|
private string data;
|
|
}
|
|
}
|