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.
25 lines
784 B
25 lines
784 B
namespace MultiTerm.Protocols;
|
|
|
|
public class ConnectionRequestEventArgs : EventArgs
|
|
{
|
|
/// <summary>
|
|
/// Settings object, contains all settings that are required to connect.
|
|
/// </summary>
|
|
public IProtocolSettings Settings { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Indicates wether the connection could be successfully made.
|
|
/// </summary>
|
|
public bool Success { get; set; }
|
|
|
|
/// <summary>
|
|
/// Creates instance of event args with given <paramref name="settings"/>.
|
|
/// Defaults <see cref="Success"/> to <see cref="true"/>.
|
|
/// </summary>
|
|
/// <param name="settings">settings object</param>
|
|
public ConnectionRequestEventArgs(IProtocolSettings settings)
|
|
{
|
|
this.Settings = settings;
|
|
this.Success = true;
|
|
}
|
|
}
|
|
|