public override int GetHashCode() { unchecked { var hashCode = (int)Type; hashCode = (hashCode * 397) ^ (WindowName != null ? WindowName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ApplicationPath != null ? ApplicationPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (HotKey != null ? HotKey.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(ServerName.GetHashCode() + Port + SiteName.GetHashCode() + ApplicationPath.GetHashCode()); }