/// <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;
 }
Beispiel #4
0
        /// <summary>
        /// Reset the search terms.
        /// </summary>
        public override void Reset()
        {
            base.Reset();

            Extension    = null;
            FileName     = null;
            Forks        = null;
            In           = new List <CodeInQualifier>();
            Language     = null;
            Organization = null;
            Path         = null;
            Repos        = null;
            Size         = new Int32RangeBroker();
            SortField    = null;
            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;
        }
Beispiel #6
0
        private SearchCodeBroker(SearchCodeBroker other)
            : base(other)
        {
            if (other == null)
            {
                return;
            }

            Extension    = other.Extension;
            FileName     = other.FileName;
            Forks        = other.Forks;
            In           = new List <CodeInQualifier>(other.In);
            Language     = other.Language;
            Organization = other.Organization;
            Path         = other.Path;
            Repos        = other.Repos;
            Size         = new Int32RangeBroker(other.Size);
            SortField    = other.SortField;
            User         = other.User;
        }
        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 ResetComments() =>
 Comments = new Int32RangeBroker();
Beispiel #10
0
 public void ResetSize() =>
 Size = new Int32RangeBroker();
 public void ResetStars() =>
 Stars = new Int32RangeBroker();
 public void ResetForks() =>
 Forks = new Int32RangeBroker();
 public void ResetRepositories() =>
 Repositories = new Int32RangeBroker();
 public void ResetFollowers() =>
 Followers = new Int32RangeBroker();
 /// <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 Int32RangeBroker(Int32RangeBroker other)
     : base(other)
 {
 }