64 lines
2.2 KiB
C#
64 lines
2.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for the <see cref="E:System.ComponentModel.BackgroundWorker.ProgressChanged" /> event.</summary>
|
|
// Token: 0x0200016F RID: 367
|
|
[Token(Token = "0x200016F")]
|
|
public class ProgressChangedEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ProgressChangedEventArgs" /> class.</summary>
|
|
/// <param name="progressPercentage">The percentage of an asynchronous task that has been completed.</param>
|
|
/// <param name="userState">A unique user state.</param>
|
|
// Token: 0x0600094C RID: 2380 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x600094C")]
|
|
[Address(RVA = "0xC67C70", Offset = "0xC66C70", VA = "0x180C67C70")]
|
|
public ProgressChangedEventArgs(int progressPercentage, object userState)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the asynchronous task progress percentage.</summary>
|
|
/// <returns>A percentage value indicating the asynchronous task progress.</returns>
|
|
// Token: 0x170001CE RID: 462
|
|
// (get) Token: 0x0600094D RID: 2381 RVA: 0x00005CB8 File Offset: 0x00003EB8
|
|
[Token(Token = "0x170001CE")]
|
|
[SRDescription("Percentage progress made in operation.")]
|
|
public int ProgressPercentage
|
|
{
|
|
[Token(Token = "0x600094D")]
|
|
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a unique user state.</summary>
|
|
/// <returns>A unique <see cref="T:System.Object" /> indicating the user state.</returns>
|
|
// Token: 0x170001CF RID: 463
|
|
// (get) Token: 0x0600094E RID: 2382 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x170001CF")]
|
|
[SRDescription("User-supplied state to identify operation.")]
|
|
public object UserState
|
|
{
|
|
[Token(Token = "0x600094E")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400057F RID: 1407
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400057F")]
|
|
private readonly int progressPercentage;
|
|
|
|
// Token: 0x04000580 RID: 1408
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000580")]
|
|
private readonly object userState;
|
|
}
|
|
}
|