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
Properties
Address
End point address
public string Address { get; set; }
Property Value
Port
Endpoint port
public int Port { get; set; }
Property Value
Methods
Equals(FluxzyEndPoint?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(FluxzyEndPoint? other)
Parameters
other
FluxzyEndPointAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
Operators
implicit operator IPEndPoint(FluxzyEndPoint)
public static implicit operator IPEndPoint(FluxzyEndPoint d)
Parameters
Returns
implicit operator FluxzyEndPoint(IPEndPoint)
public static implicit operator FluxzyEndPoint(IPEndPoint d)