scripts
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
/// <summary>Provides data for the <see cref="E:System.ComponentModel.BackgroundWorker.ProgressChanged" /> event.</summary>
|
||||
// Token: 0x020000B3 RID: 179
|
||||
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: 0x060005CD RID: 1485 RVA: 0x0000EFD8 File Offset: 0x0000D1D8
|
||||
public ProgressChangedEventArgs(int progressPercentage, object userState)
|
||||
{
|
||||
this.progress = progressPercentage;
|
||||
this.state = userState;
|
||||
}
|
||||
|
||||
/// <summary>Gets the asynchronous task progress percentage.</summary>
|
||||
/// <returns>A percentage value indicating the asynchronous task progress.</returns>
|
||||
// Token: 0x17000183 RID: 387
|
||||
// (get) Token: 0x060005CE RID: 1486 RVA: 0x0000EFF0 File Offset: 0x0000D1F0
|
||||
public int ProgressPercentage
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.progress;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a unique user state.</summary>
|
||||
/// <returns>A unique <see cref="T:System.Object" /> indicating the user state.</returns>
|
||||
// Token: 0x17000184 RID: 388
|
||||
// (get) Token: 0x060005CF RID: 1487 RVA: 0x0000EFF8 File Offset: 0x0000D1F8
|
||||
public object UserState
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.state;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040001BB RID: 443
|
||||
private int progress;
|
||||
|
||||
// Token: 0x040001BC RID: 444
|
||||
private object state;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user