public override int GetHashCode() { int hash = 1; if (videoId_ != null) { hash ^= VideoId.GetHashCode(); } if (addedDate_ != null) { hash ^= AddedDate.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (PreviewImageLocation.Length != 0) { hash ^= PreviewImageLocation.GetHashCode(); } if (userId_ != null) { hash ^= UserId.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (videoId_ != null) { hash ^= VideoId.GetHashCode(); } if (userId_ != null) { hash ^= UserId.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (Location.Length != 0) { hash ^= Location.GetHashCode(); } if (PreviewImageLocation.Length != 0) { hash ^= PreviewImageLocation.GetHashCode(); } hash ^= tags_.GetHashCode(); if (addedDate_ != null) { hash ^= AddedDate.GetHashCode(); } if (timestamp_ != null) { hash ^= Timestamp.GetHashCode(); } return(hash); }