コード例 #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()));
 }
コード例 #2
0
 public override int GetHashCode()
 {
     return(EqualityHelper.GetHashCode(this.StatusEventArgs?.GetHashCode() ?? 0, this.VolumeChangedEventArgs?.GetHashCode() ?? 0, this.AudioOutputEventArgs?.GetHashCode() ?? 0));
 }
コード例 #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));
 }
コード例 #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()));
 }
コード例 #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()));
 }
コード例 #6
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.Width, this.Height));
 }
コード例 #7
0
ファイル: PlayerStatus.cs プロジェクト: hugener/Aupli
 /// <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()));
 }