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: 0x02000119 RID: 281
|
|
[Token(Token = "0x2000119")]
|
|
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: 0x060006EF RID: 1775 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60006EF")]
|
|
[Address(RVA = "0xC53720", Offset = "0xC52720", VA = "0x180C53720")]
|
|
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: 0x1700013A RID: 314
|
|
// (get) Token: 0x060006F0 RID: 1776 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700013A")]
|
|
[SRDescription("Argument passed into the worker handler from BackgroundWorker.RunWorkerAsync.")]
|
|
public object Argument
|
|
{
|
|
[Token(Token = "0x60006F0")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
|
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: 0x1700013B RID: 315
|
|
// (get) Token: 0x060006F1 RID: 1777 RVA: 0x00002050 File Offset: 0x00000250
|
|
// (set) Token: 0x060006F2 RID: 1778 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x1700013B")]
|
|
[SRDescription("Result from the worker function.")]
|
|
public object Result
|
|
{
|
|
[Token(Token = "0x60006F1")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
[Token(Token = "0x60006F2")]
|
|
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x040004C7 RID: 1223
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40004C7")]
|
|
private object result;
|
|
|
|
// Token: 0x040004C8 RID: 1224
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40004C8")]
|
|
private object argument;
|
|
}
|
|
}
|