/// <summary>
 /// Computes the object hash code. Good practice to implement this method also when Equals() is overriden.
 /// </summary>
 /// <returns>The computed hash code of the object.</returns>
 public override int GetHashCode()
 {
     return(PowerPlantName.GetHashCode());
 }
 /// <summary>
 /// Test for Equality by comparing the plant name in the result object.
 /// </summary>
 /// <param name="obj">The other <see cref="PowerPlantResult"/> to compare with</param>
 /// <returns>True if result contain same name, else false.</returns>
 public override bool Equals(object obj)
 {
     return(PowerPlantName.Equals((obj as PowerPlantResult).PowerPlantName));
 }