Table of Contents

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 TimeSpan

Time to disconnect.

Properties

DisconnectTimeout

Time to disconnect.

public TimeSpan DisconnectTimeout { get; init; }

Property Value

TimeSpan

Methods

Deconstruct(out TimeSpan)

public void Deconstruct(out TimeSpan DisconnectTimeout)

Parameters

DisconnectTimeout TimeSpan

Equals(ConnectionInterruptedEventInfo)

public bool Equals(ConnectionInterruptedEventInfo other)

Parameters

other ConnectionInterruptedEventInfo

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ConnectionInterruptedEventInfo, ConnectionInterruptedEventInfo)

public static bool operator ==(ConnectionInterruptedEventInfo left, ConnectionInterruptedEventInfo right)

Parameters

left ConnectionInterruptedEventInfo
right ConnectionInterruptedEventInfo

Returns

bool

operator !=(ConnectionInterruptedEventInfo, ConnectionInterruptedEventInfo)

public static bool operator !=(ConnectionInterruptedEventInfo left, ConnectionInterruptedEventInfo right)

Parameters

left ConnectionInterruptedEventInfo
right ConnectionInterruptedEventInfo

Returns

bool