using System;
namespace System
{
/// Provides data for the event. This class cannot be inherited.
/// 2
// Token: 0x02000646 RID: 1606
[Serializable]
public sealed class ConsoleCancelEventArgs : EventArgs
{
// Token: 0x06003BB0 RID: 15280 RVA: 0x000CAE74 File Offset: 0x000C9074
internal ConsoleCancelEventArgs(ConsoleSpecialKey key)
{
this.specialKey = key;
}
/// Gets or sets a value indicating whether simultaneously pressing the modifier key and console key (CTRL+C) terminates the current process.
/// true if the current process should resume when the event handler concludes; false if the current process should terminate.
/// true was specified in a set operation and the event was caused by simultaneously pressing the modifier key and the BREAK console key (CTRL+BREAK).
/// 2
// Token: 0x17000B62 RID: 2914
// (get) Token: 0x06003BB1 RID: 15281 RVA: 0x000CAE84 File Offset: 0x000C9084
// (set) Token: 0x06003BB2 RID: 15282 RVA: 0x000CAE8C File Offset: 0x000C908C
public bool Cancel
{
get
{
return this.cancel;
}
set
{
this.cancel = value;
}
}
/// Gets the combination of modifier and console keys that interrupted the current process.
/// One of the values. There is no default value.
/// 1
// Token: 0x17000B63 RID: 2915
// (get) Token: 0x06003BB3 RID: 15283 RVA: 0x000CAE98 File Offset: 0x000C9098
public ConsoleSpecialKey SpecialKey
{
get
{
return this.specialKey;
}
}
// Token: 0x040017CE RID: 6094
private bool cancel;
// Token: 0x040017CF RID: 6095
private ConsoleSpecialKey specialKey;
}
}