Akka.Remote.EndpointManager.Link.GetHashCode C# (CSharp) Метод

GetHashCode() публичный Метод

Overrode this to make sure that the ReliableDeliverySupervisor can correctly store AckedReceiveBuffer{T} data for each Link individually, since the HashCode is what Dictionary types use internally for equality checking by default.
public GetHashCode ( ) : int
Результат int
            public override int GetHashCode()
            {
                unchecked
                {
                    var hash = 17;
                    hash = hash * 23 + (LocalAddress == null ? 0 : LocalAddress.GetHashCode());
                    hash = hash * 23 + (RemoteAddress == null ? 0 : RemoteAddress.GetHashCode());
                    return hash;
                }
            }
        }
EndpointManager.Link