69 lines
2.4 KiB
C#
69 lines
2.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.ComponentModel.BackgroundWorker.DoWork" /> event handler.</summary>
|
|
// Token: 0x0200011D RID: 285
|
|
[Token(Token = "0x200011D")]
|
|
public class DoWorkEventArgs : CancelEventArgs
|
|
{
|
|
/// <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: 0x06000705 RID: 1797 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000705")]
|
|
[Address(RVA = "0x4E9310", Offset = "0x4E8110", VA = "0x1804E9310")]
|
|
public DoWorkEventArgs(object 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: 0x1700013E RID: 318
|
|
// (get) Token: 0x06000706 RID: 1798 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700013E")]
|
|
[SRDescription("Argument passed into the worker handler from BackgroundWorker.RunWorkerAsync.")]
|
|
public object Argument
|
|
{
|
|
[Token(Token = "0x6000706")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <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: 0x1700013F RID: 319
|
|
// (get) Token: 0x06000707 RID: 1799 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x06000708 RID: 1800 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700013F")]
|
|
[SRDescription("Result from the worker function.")]
|
|
public object Result
|
|
{
|
|
[Token(Token = "0x6000707")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x6000708")]
|
|
[Address(RVA = "0x3F7210", Offset = "0x3F6010", VA = "0x1803F7210")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x040004D4 RID: 1236
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40004D4")]
|
|
private object result;
|
|
|
|
// Token: 0x040004D5 RID: 1237
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40004D5")]
|
|
private object argument;
|
|
}
|
|
}
|