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; }
/// <summary> /// Create a searcher. /// </summary> /// <returns>The searcher that is created.</returns> public override Searcher CreateSearcher(GitHubClient client, int maximumCount) { previous = this; return(new IssueSearcher(client, maximumCount, CreateRequest())); }