コード例 #1
0
 int IEqualityComparer <IResourceKey> .GetHashCode(
     IResourceKey obj)
 {
     return(obj.GetHashCode());
 }
コード例 #2
0
ファイル: AResourceKey.cs プロジェクト: yakoder/s3pi
 /// <summary>
 /// Returns a hash code for the specified <see cref="IResourceKey"/>.
 /// </summary>
 /// <param name="obj">The <see cref="IResourceKey"/> for which a hash code is to be returned.</param>
 /// <returns>A hash code for the specified object.</returns>
 /// <exception cref="ArgumentNullException">The type of <paramref name="obj"/> is a reference type and
 /// <paramref name="obj"/> is null.</exception>
 /// <seealso cref="GetHashCode()"/>
 public int GetHashCode(IResourceKey obj)
 {
     return(obj.GetHashCode());
 }
コード例 #3
0
ファイル: ResourceDetails.cs プロジェクト: falerin/Sims4Tools
 public int GetHashCode(IResourceKey obj) { return obj.GetHashCode(); }