Class ServerId
Represents a server identifier.
[Serializable]
public sealed class ServerId : IEquatable<ServerId>, ISerializable
- Inheritance
-
ServerId
- Implements
- Inherited Members
Constructors
ServerId(ClusterId, EndPoint)
Initializes a new instance of the ServerId class.
public ServerId(ClusterId clusterId, EndPoint endPoint)
Parameters
Properties
ClusterId
Gets the cluster identifier.
public ClusterId ClusterId { get; }
Property Value
- ClusterId
The cluster identifier.
EndPoint
Gets the end point.
public EndPoint EndPoint { get; }
Property Value
- EndPoint
The end point.
Methods
Equals(ServerId)
public bool Equals(ServerId other)
Parameters
otherServerId
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()