71 lines
2.0 KiB
C#
71 lines
2.0 KiB
C#
using System;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.ComponentModel.BackgroundWorker.DoWork" /> event handler.</summary>
|
|
// Token: 0x02000077 RID: 119
|
|
public class DoWorkEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.DoWorkEventArgs" /> class.</summary>
|
|
/// <param name="argument">Specifies an argument for an asynchronous operation.</param>
|
|
// Token: 0x06000445 RID: 1093 RVA: 0x0000C904 File Offset: 0x0000AB04
|
|
public DoWorkEventArgs(object argument)
|
|
{
|
|
this.arg = argument;
|
|
}
|
|
|
|
/// <summary>Gets a value that represents the argument of an asynchronous operation.</summary>
|
|
/// <returns>An <see cref="T:System.Object" /> representing the argument of an asynchronous operation.</returns>
|
|
// Token: 0x1700011F RID: 287
|
|
// (get) Token: 0x06000446 RID: 1094 RVA: 0x0000C914 File Offset: 0x0000AB14
|
|
public object Argument
|
|
{
|
|
get
|
|
{
|
|
return this.arg;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets or sets a value that represents the result of an asynchronous operation.</summary>
|
|
/// <returns>An <see cref="T:System.Object" /> representing the result of an asynchronous operation.</returns>
|
|
// Token: 0x17000120 RID: 288
|
|
// (get) Token: 0x06000447 RID: 1095 RVA: 0x0000C91C File Offset: 0x0000AB1C
|
|
// (set) Token: 0x06000448 RID: 1096 RVA: 0x0000C924 File Offset: 0x0000AB24
|
|
public object Result
|
|
{
|
|
get
|
|
{
|
|
return this.result;
|
|
}
|
|
set
|
|
{
|
|
this.result = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000121 RID: 289
|
|
// (get) Token: 0x06000449 RID: 1097 RVA: 0x0000C930 File Offset: 0x0000AB30
|
|
// (set) Token: 0x0600044A RID: 1098 RVA: 0x0000C938 File Offset: 0x0000AB38
|
|
public bool Cancel
|
|
{
|
|
get
|
|
{
|
|
return this.cancel;
|
|
}
|
|
set
|
|
{
|
|
this.cancel = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000168 RID: 360
|
|
private object arg;
|
|
|
|
// Token: 0x04000169 RID: 361
|
|
private object result;
|
|
|
|
// Token: 0x0400016A RID: 362
|
|
private bool cancel;
|
|
}
|
|
}
|