/// <summary> /// Reset the search terms. /// </summary> public override void Reset() { base.Reset(); Exclusions.Reset(); Archived = null; Assignee = null; Author = null; Base = null; Closed = new DateRangeBroker(); Commenter = null; Comments = new Int32RangeBroker(); Created = new DateRangeBroker(); Head = null; In = new List <IssueInQualifier>(); Involves = null; Is = new List <IssueIsQualifier>(); Labels = null; Language = null; Mentions = null; Merged = new DateRangeBroker(); Milestone = null; No = null; Repos = null; SortField = null; State = null; Status = null; Team = null; Type = null; Updated = new DateRangeBroker(); User = null; }
/// <summary> /// Reset the search terms. /// </summary> public override void Reset() { base.Reset(); AccountType = null; Created = new DateRangeBroker(); Followers = new Int32RangeBroker(); In = new List <UserInQualifier>(); Language = null; Location = null; Repositories = new Int32RangeBroker(); SortField = null; }
/// <summary> /// Reset the search terms. /// </summary> public override void Reset() { base.Reset(); Archived = null; Created = new DateRangeBroker(); Fork = null; Forks = new Int32RangeBroker(); In = new List <InQualifier>(); Language = null; Size = new Int32RangeBroker(); SortField = null; Stars = new Int32RangeBroker(); Updated = new DateRangeBroker(); User = null; }
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; }
private SearchRepositoriesBroker(SearchRepositoriesBroker other) : base(other) { if (other == null) { return; } Archived = other.Archived; Created = new DateRangeBroker(other.Created); Fork = other.Fork; Forks = new Int32RangeBroker(other.Forks); In = new List <InQualifier>(other.In); Language = other.Language; Size = new Int32RangeBroker(other.Size); SortField = other.SortField; Stars = new Int32RangeBroker(other.Stars); Updated = new DateRangeBroker(other.Updated); User = other.User; }
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; }
public void ResetUpdated() => Updated = new DateRangeBroker();
public void ResetMerged() => Merged = new DateRangeBroker();
public void ResetCreated() => Created = new DateRangeBroker();
/// The methods in this region are all named ResetXXX, where XXX is the name of a /// property in this class. PropertyGrid uses these methods to reset properties that /// require special handling not possible with DefaultValue attribute. #region ResetXXX methods for PropertyGrid public void ResetClosed() => Closed = new DateRangeBroker();
/// <summary> /// Create a new range based on the values of another range. /// </summary> /// <param name="other">The range upon which the values are based.</param> public DateRangeBroker(DateRangeBroker other) : base(other) { }