Struct ConnectionInterruptedEventInfo
- Namespace
- Backdash
- Assembly
- Backdash.dll
Data for ConnectionInterrupted event.
public readonly struct ConnectionInterruptedEventInfo : IEquatable<ConnectionInterruptedEventInfo>
- Implements
- Inherited Members
Constructors
ConnectionInterruptedEventInfo(TimeSpan)
Data for ConnectionInterrupted event.
public ConnectionInterruptedEventInfo(TimeSpan DisconnectTimeout)
Parameters
DisconnectTimeout
TimeSpanTime to disconnect.
Properties
DisconnectTimeout
Time to disconnect.
public TimeSpan DisconnectTimeout { get; init; }
Property Value
Methods
Deconstruct(out TimeSpan)
public void Deconstruct(out TimeSpan DisconnectTimeout)
Parameters
DisconnectTimeout
TimeSpan
Equals(ConnectionInterruptedEventInfo)
public bool Equals(ConnectionInterruptedEventInfo other)
Parameters
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ConnectionInterruptedEventInfo, ConnectionInterruptedEventInfo)
public static bool operator ==(ConnectionInterruptedEventInfo left, ConnectionInterruptedEventInfo right)
Parameters
Returns
operator !=(ConnectionInterruptedEventInfo, ConnectionInterruptedEventInfo)
public static bool operator !=(ConnectionInterruptedEventInfo left, ConnectionInterruptedEventInfo right)