public override int GetHashCode()
 {
     unchecked
     {
         int result = Name?.GetHashCode() ?? 0;
         result = (result * 397) ^ IsRemote.GetHashCode();
         result = (result * 397) ^ IsCurrent.GetHashCode();
         return(result);
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (Name != null ? Name.GetHashCode() : 0);
         result = (result * 397) ^ IsRemote.GetHashCode();
         result = (result * 397) ^ IsCurrent.GetHashCode();
         return(result);
     }
 }