Files
Aug2021-Cpp2IL-Dump/System/ComponentModel/ProgressChangedEventArgs.cs
T
2026-04-10 22:50:51 +02:00

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: 0x02000173 RID: 371
[Token(Token = "0x2000173")]
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: 0x06000962 RID: 2402 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000962")]
[Address(RVA = "0x4FD920", Offset = "0x4FC720", VA = "0x1804FD920")]
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: 0x170001D2 RID: 466
// (get) Token: 0x06000963 RID: 2403 RVA: 0x00005CD0 File Offset: 0x00003ED0
[Token(Token = "0x170001D2")]
[SRDescription("Percentage progress made in operation.")]
public int ProgressPercentage
{
[Token(Token = "0x6000963")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560")]
get
{
return 0;
}
}
/// <summary>Gets a unique user state.</summary>
/// <returns>A unique <see cref="T:System.Object" /> indicating the user state.</returns>
// Token: 0x170001D3 RID: 467
// (get) Token: 0x06000964 RID: 2404 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001D3")]
[SRDescription("User-supplied state to identify operation.")]
public object UserState
{
[Token(Token = "0x6000964")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return null;
}
}
// Token: 0x0400058C RID: 1420
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400058C")]
private readonly int progressPercentage;
// Token: 0x0400058D RID: 1421
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400058D")]
private readonly object userState;
}
}