private SearchUsersBroker(SearchUsersBroker other) : base(other) { if (other == null) { return; } AccountType = other.AccountType; Created = new DateRangeBroker(other.Created); Followers = new Int32RangeBroker(other.Followers); In = new List <UserInQualifier>(other.In); Language = other.Language; Location = other.Location; Repositories = new Int32RangeBroker(other.Repositories); SortField = other.SortField; }
/// <summary> /// Create a searcher. /// </summary> /// <returns>The searcher that is created.</returns> public override Searcher CreateSearcher(GitHubClient client, int maximumCount) { previous = this; return(new UserSearcher(client, maximumCount, CreateRequest())); }