/// <summary> /// Create an instance from another instance. /// </summary> /// <param name="other">The other instance from which values are copied.</param> internal IssueExclusionsBroker(IssueExclusionsBroker other) { if (other == null) { return; } Assignee = other.Assignee; Author = other.Author; Base = other.Base; Commenter = other.Commenter; Head = other.Head; Involves = other.Involves; Labels = other.Labels; Language = other.Language; Mentions = other.Mentions; Milestone = other.Milestone; State = other.State; Status = other.Status; }
private SearchIssuesBroker(SearchIssuesBroker other) : base(other) { if (other == null) { return; } Archived = other.Archived; Assignee = other.Assignee; Author = other.Author; Base = other.Base; Closed = new DateRangeBroker(other.Closed); Commenter = other.Commenter; Comments = new Int32RangeBroker(other.Comments); Created = new DateRangeBroker(other.Created); Exclusions = new IssueExclusionsBroker(other.Exclusions); Head = other.Head; In = new List <IssueInQualifier>(other.In); Involves = other.Involves; Is = new List <IssueIsQualifier>(other.Is); Labels = other.Labels; Language = other.Language; Mentions = other.Mentions; Merged = new DateRangeBroker(other.Merged); Milestone = other.Milestone; No = other.No; Repos = other.Repos; SortField = other.SortField; State = other.State; Status = other.Status; Team = other.Team; Type = other.Type; Updated = new DateRangeBroker(other.Updated); User = other.User; }