public override int GetHashCode() { unchecked { return(((RouteName != null ? RouteName.GetHashCode() : 0) * 397) ^ (ViewModelId != null ? ViewModelId.GetHashCode() : 0)); } }
public override int GetHashCode() { unchecked { int sum = 0; sum += FromName.GetHashCode(); sum += ToName.GetHashCode(); sum += RouteName.GetHashCode(); return(sum); } }
public override int GetHashCode() { unchecked { var hashCode = Key != null?Key.GetHashCode() : 0; hashCode = (hashCode * 397) ^ Enabled.GetHashCode(); hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Area != null ? Area.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Controller != null ? Controller.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Action != null ? Action.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RouteName != null ? RouteName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Url != null ? Url.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Roles != null ? Roles.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AuthorizationPolicyName != null ? AuthorizationPolicyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)HideNodeFrom; hashCode = (hashCode * 397) ^ (ClassName != null ? ClassName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Icon != null ? Icon.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { return(RouteName.GetHashCode()); }