Multiprocotol Terminalprogram (BAT)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MultiTerm/MultiTerm.Protocols/DisconnectedEventArgs.cs

16 lines
494 B

namespace MultiTerm.Protocols;
public class DisconnectedEventArgs : EventArgs
{
/// <summary>
/// Indicates wether the disconnect was unintentional.
/// It False the disconnect was likely triggered by a user (e.g. manually clicking Disconnect).
/// If True the disconnect was unintentional.
/// </summary>
public bool Unintentional { get; private set; }
public DisconnectedEventArgs(bool unintentional)
{
this.Unintentional = unintentional;
}
}