57 lines
2.1 KiB
C#
57 lines
2.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides data for a cancelable event.</summary>
|
|
// Token: 0x020000EF RID: 239
|
|
[Token(Token = "0x20000EF")]
|
|
public class CancelEventArgs : EventArgs
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CancelEventArgs" /> class with the <see cref="P:System.ComponentModel.CancelEventArgs.Cancel" /> property set to <see langword="false" />.</summary>
|
|
// Token: 0x060005DC RID: 1500 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60005DC")]
|
|
[Address(RVA = "0xB929F0", Offset = "0xB919F0", VA = "0x180B929F0")]
|
|
public CancelEventArgs()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CancelEventArgs" /> class with the <see cref="P:System.ComponentModel.CancelEventArgs.Cancel" /> property set to the given value.</summary>
|
|
/// <param name="cancel">
|
|
/// <see langword="true" /> to cancel the event; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x060005DD RID: 1501 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x60005DD")]
|
|
[Address(RVA = "0xB92A50", Offset = "0xB91A50", VA = "0x180B92A50")]
|
|
public CancelEventArgs(bool cancel)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets or sets a value indicating whether the event should be canceled.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the event should be canceled; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170000FA RID: 250
|
|
// (get) Token: 0x060005DE RID: 1502 RVA: 0x000045D8 File Offset: 0x000027D8
|
|
// (set) Token: 0x060005DF RID: 1503 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x170000FA")]
|
|
public bool Cancel
|
|
{
|
|
[Token(Token = "0x60005DE")]
|
|
[Address(RVA = "0x4944B0", Offset = "0x4934B0", VA = "0x1804944B0")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
[Token(Token = "0x60005DF")]
|
|
[Address(RVA = "0x62ADC0", Offset = "0x629DC0", VA = "0x18062ADC0")]
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000462 RID: 1122
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000462")]
|
|
private bool cancel;
|
|
}
|
|
}
|