Esempio n. 1
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(
                this.UnitExpression.Unit?.GetHashCode() ?? 0,
                FlatPresentationHelper.HatHashCode,
                this.Exponent.GetHashCode()));
 }
Esempio n. 2
0
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.StatusEventArgs?.GetHashCode() ?? 0, this.VolumeChangedEventArgs?.GetHashCode() ?? 0, this.AudioOutputEventArgs?.GetHashCode() ?? 0));
 }
Esempio n. 3
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.X, this.Y));
 }
Esempio n. 4
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.Constant.GetHashCode()));
 }
Esempio n. 5
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.Name.GetHashCodeOrDefault()));
 }
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.Width, this.Height));
 }
Esempio n. 7
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.PlaylistName.GetHashCode(), this.Artist.GetHashCode(), this.Title.GetHashCode(), this.Track.GetHashCode(), this.State.GetHashCode(), this.Elapsed.GetHashCode()));
 }