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/IProtocolSettingsViewModel.cs

21 lines
619 B

using MultiTerm.Protocols.Types;
namespace MultiTerm.Protocols;
public interface IProtocolSettingsViewModel
{
/// <summary>
/// Indicates the protocol type of the implementing SettingsViewModel.
/// </summary>
ProtocolType ProtocolType { get; }
/// <summary>
/// Event that is thrown when the user requested to connect to the device with the entered settings.
/// </summary>
event EventHandler? ConnectRequested;
/// <summary>
/// Event that is thrown when the user requested to disconnect from the device.
/// </summary>
event EventHandler? DisconnectRequested;
}