Beispiel #1
0
		public override int GetHashCode() {
			int serversHashcode = 0;
			foreach (IServiceAddress addr in rootServers) {
				serversHashcode += addr.GetHashCode();
			}
			return pathName.GetHashCode() + pathType.GetHashCode() + versionNumber + rootLeader.GetHashCode() + serversHashcode;
		}
Beispiel #2
0
 public override int GetHashCode()
 {
     return(serviceAddress.GetHashCode() + serviceType.GetHashCode());
 }