/// <summary>Generates a unique hash code for the given SpindaSpots.</summary> /// <returns>Unique hash code</returns> public override int GetHashCode() { return(HashCodeBuilder.Create().AddValue <SpindaCoords>(this.LeftEar) .AddValue <SpindaCoords>(this.RightEar) .AddValue <SpindaCoords>(this.LeftFace) .AddValue <SpindaCoords>(this.RightFace) .ToHashCode()); }
/// <summary>Generates a unique hash code for the given HiddenPower.</summary> /// <returns>Unique hash code</returns> public override int GetHashCode() { return(HashCodeBuilder.Create().AddValue <Type>(this.Type) .AddValue <int>(this.BasePower) .ToHashCode()); }
/// <summary>Generates a unique hash code for the given LevelupMove.</summary> /// <returns>Unique hash code</returns> public override int GetHashCode() { return(HashCodeBuilder.Create().AddValue <Move>(this.Move) .AddValue <int>(this.Level) .ToHashCode()); }
/// <summary>Generates a unique hash code for the given SpindaCoords.</summary> /// <returns>Unique hash code</returns> public override int GetHashCode() { return(HashCodeBuilder.Create().AddValue <int>(this.X) .AddValue <int>(this.Y) .ToHashCode()); }
public HashCodeBuilder CreateHashCodeBuilder <TList>(TList source, int start, int count) where TList : IReadOnlyList <char> { return(HashCodeBuilder.Create(source, start, count)); }