示例#1
0
 public override Int32 GetHashCode()
 {
     unchecked
     {
         return((397 * _units.GetHashCode()) ^ (_asset?.GetHashCode() ?? 0));
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Network != null ? Network.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Asset != null ? Asset.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Address != null ? Address.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Tag != null ? Tag.GetHashCode() : 0);
         return(hashCode);
     }
 }
示例#3
0
 public override int GetHashCode()
 {
     return(Asset.GetHashCode());
 }
示例#4
0
 public override int GetHashCode()
 {
     return(Asset != null ? Asset.GetHashCode() : 0);
 }