Class WebSocketEndpointInfo

Namespace
Kuestenlogik.Bowire.Protocol.WebSocket
Assembly
Kuestenlogik.Bowire.Protocol.WebSocket.dll

One discovered (or manually registered) WebSocket endpoint.

public sealed record WebSocketEndpointInfo : IEquatable<WebSocketEndpointInfo>
Inheritance
WebSocketEndpointInfo
Implements
Inherited Members

Constructors

WebSocketEndpointInfo(string, string?, string?, string?)

One discovered (or manually registered) WebSocket endpoint.

public WebSocketEndpointInfo(string Path, string? DisplayName = null, string? Description = null, string? Group = null)

Parameters

Path string
DisplayName string
Description string
Group string

Properties

Description

public string? Description { get; init; }

Property Value

string

DisplayName

public string? DisplayName { get; init; }

Property Value

string

Group

public string? Group { get; init; }

Property Value

string

Path

public string Path { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string?, out string?, out string?)

public void Deconstruct(out string Path, out string? DisplayName, out string? Description, out string? Group)

Parameters

Path string
DisplayName string
Description string
Group string

Equals(WebSocketEndpointInfo?)

public bool Equals(WebSocketEndpointInfo? other)

Parameters

other WebSocketEndpointInfo

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 ==(WebSocketEndpointInfo?, WebSocketEndpointInfo?)

public static bool operator ==(WebSocketEndpointInfo? left, WebSocketEndpointInfo? right)

Parameters

left WebSocketEndpointInfo
right WebSocketEndpointInfo

Returns

bool

operator !=(WebSocketEndpointInfo?, WebSocketEndpointInfo?)

public static bool operator !=(WebSocketEndpointInfo? left, WebSocketEndpointInfo? right)

Parameters

left WebSocketEndpointInfo
right WebSocketEndpointInfo

Returns

bool