public override int GetHashCode() { unchecked { return(((ControllerName?.GetHashCode() ?? 0) * 397) ^ (ActionName?.GetHashCode() ?? 0)); } }
/// <summary> /// hash code do display. /// </summary> /// <returns></returns> public int CustomGetHashCode() { int hash = 13; hash = (hash * 7) + Host?.GetHashCode() ?? 0; hash = (hash * 7) + ControllerName.GetHashCode(); return(hash); }
public override int GetHashCode() { return(ControllerName.GetHashCode() ^ ActionName.GetHashCode() ^ IpAdress.GetHashCode()); }