Example #1
0
 public bool Equals(ProjectViewModel other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return
         (string.Equals(Identify, other.Identify, StringComparison.CurrentCulture) &&
          Id == other.Id &&
          string.Equals(Name, other.Name, StringComparison.CurrentCulture) &&
          string.Equals(Identifier, other.Identifier, StringComparison.CurrentCulture) &&
          string.Equals(Description, other.Description, StringComparison.CurrentCulture) &&
          Equals(Parent, other.Parent) && string.Equals(HomePage, other.HomePage, StringComparison.CurrentCulture) &&
          CreatedOn.Equals(other.CreatedOn) &&
          UpdatedOn.Equals(other.UpdatedOn) &&
          Status == other.Status &&
          IsPublic == other.IsPublic &&
          InheritMembers == other.InheritMembers &&
          Equals(Trackers, other.Trackers) &&
          Equals(CustomFields, other.CustomFields) &&
          Equals(IssueCategories, other.IssueCategories) &&
          Equals(EnabledModules, other.EnabledModules) &&
          Equals(TimeEntryActivities, other.TimeEntryActivities));
 }
Example #2
0
 public bool Equals(Issue other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && Equals(Project, other.Project) && Equals(Tracker, other.Tracker) && Equals(Status, other.Status) && Equals(Priority, other.Priority) && Equals(Author, other.Author) && Equals(Category, other.Category) && string.Equals(Subject, other.Subject) && string.Equals(Description, other.Description) && StartDate.Equals(other.StartDate) && DueDate.Equals(other.DueDate) && DoneRatio.Equals(other.DoneRatio) && PrivateNotes == other.PrivateNotes && EstimatedHours.Equals(other.EstimatedHours) && SpentHours.Equals(other.SpentHours) && Equals(CustomFields, other.CustomFields) && CreatedOn.Equals(other.CreatedOn) && UpdatedOn.Equals(other.UpdatedOn) && ClosedOn.Equals(other.ClosedOn) && string.Equals(Notes, other.Notes) && Equals(AssignedTo, other.AssignedTo) && Equals(ParentIssue, other.ParentIssue) && Equals(FixedVersion, other.FixedVersion) && IsPrivate == other.IsPrivate && TotalSpentHours.Equals(other.TotalSpentHours) && TotalEstimatedHours.Equals(other.TotalEstimatedHours) && Equals(Journals, other.Journals) && Equals(Changesets, other.Changesets) && Equals(Attachments, other.Attachments) && Equals(Relations, other.Relations) && Equals(Children, other.Children) && Equals(Uploads, other.Uploads) && Equals(Watchers, other.Watchers));
 }