Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = (Id != null ? Id.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ VersionCounter.GetHashCode();
         hashCode = (hashCode * 397) ^ Created.GetHashCode();
         hashCode = (hashCode * 397) ^ LastUpdated.GetHashCode();
         hashCode = (hashCode * 397) ^ (CreatedBy != null ? CreatedBy.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (WorkspaceId != null ? WorkspaceId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (BranchName != null ? BranchName.GetHashCode() : 0);
         return(hashCode);
     }
 }
Пример #2
0
 public override int GetHashCode()
 {
     return(WorkspaceId.GetHashCode());
 }