Table of Contents

Class FluxzyEndPoint

Namespace
Fluxzy
Assembly
Fluxzy.Core.dll

A fluxzy bound endpoint

public class FluxzyEndPoint : IEquatable<FluxzyEndPoint>
Inheritance
FluxzyEndPoint
Implements
Inherited Members

Constructors

FluxzyEndPoint(IPEndPoint)

Create from an IPEndPoint

public FluxzyEndPoint(IPEndPoint endPoint)

Parameters

endPoint IPEndPoint

FluxzyEndPoint(string, int)

Create from a provided address and port

[JsonConstructor]
public FluxzyEndPoint(string address, int port)

Parameters

address string
port int

Properties

Address

End point address

public string Address { get; set; }

Property Value

string

Port

Endpoint port

public int Port { get; set; }

Property Value

int

Methods

Equals(FluxzyEndPoint?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(FluxzyEndPoint? other)

Parameters

other FluxzyEndPoint

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToIpEndPoint()

public IPEndPoint ToIpEndPoint()

Returns

IPEndPoint

Operators

implicit operator IPEndPoint(FluxzyEndPoint)

public static implicit operator IPEndPoint(FluxzyEndPoint d)

Parameters

d FluxzyEndPoint

Returns

IPEndPoint

implicit operator FluxzyEndPoint(IPEndPoint)

public static implicit operator FluxzyEndPoint(IPEndPoint d)

Parameters

d IPEndPoint

Returns

FluxzyEndPoint