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