Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

53 lines
2.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System
{
/// <summary>Provides data for the <see cref="E:System.Console.CancelKeyPress" /> event. This class cannot be inherited.</summary>
// Token: 0x020000CB RID: 203
[Token(Token = "0x20000CB")]
[Serializable]
public sealed class ConsoleCancelEventArgs : EventArgs
{
// Token: 0x0600061D RID: 1565 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600061D")]
[Address(RVA = "0x2C306C0", Offset = "0x2C2F6C0", VA = "0x182C306C0")]
internal ConsoleCancelEventArgs(ConsoleSpecialKey type)
{
}
/// <summary>Gets or sets a value that indicates whether simultaneously pressing the <see cref="F:System.ConsoleModifiers.Control" /> modifier key and the <see cref="F:System.ConsoleKey.C" /> console key (Ctrl+C) or the Ctrl+Break keys terminates the current process. The default is <see langword="false" />, which terminates the current process.</summary>
/// <returns>
/// <see langword="true" /> if the current process should resume when the event handler concludes; <see langword="false" /> if the current process should terminate. The default value is <see langword="false" />; the current process terminates when the event handler returns. If <see langword="true" />, the current process continues.</returns>
// Token: 0x170000A2 RID: 162
// (get) Token: 0x0600061E RID: 1566 RVA: 0x00005070 File Offset: 0x00003270
[Token(Token = "0x170000A2")]
public bool Cancel
{
[Token(Token = "0x600061E")]
[Address(RVA = "0x4987D0", Offset = "0x4977D0", VA = "0x1804987D0")]
get
{
return default(bool);
}
}
// Token: 0x0600061F RID: 1567 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600061F")]
[Address(RVA = "0x2C30690", Offset = "0x2C2F690", VA = "0x182C30690")]
internal ConsoleCancelEventArgs()
{
}
// Token: 0x04000236 RID: 566
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000236")]
private ConsoleSpecialKey _type;
// Token: 0x04000237 RID: 567
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x4000237")]
private bool _cancel;
}
}