Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Query.Length != 0)
            {
                hash ^= Query.GetHashCode();
            }
            if (PageNumber != 0)
            {
                hash ^= PageNumber.GetHashCode();
            }
            if (ResultPerPage != 0)
            {
                hash ^= ResultPerPage.GetHashCode();
            }
            if (Corpus != 0)
            {
                hash ^= Corpus.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
 public override void InputFormFields()
 {
     if (Data.ResultPerPage != null)
     {
         ResultPerPage.SelectByText(Data.ResultPerPage);
     }
     if (Data.SortBy != null)
     {
         SortBy.SelectByText(Data.SortBy);
     }
 }
Ejemplo n.º 3
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Query.Length != 0)
        {
            hash ^= Query.GetHashCode();
        }
        if (PageNumber != 0)
        {
            hash ^= PageNumber.GetHashCode();
        }
        if (ResultPerPage != 0)
        {
            hash ^= ResultPerPage.GetHashCode();
        }
        if (Data.Length != 0)
        {
            hash ^= Data.GetHashCode();
        }
        hash ^= contents_.GetHashCode();
        return(hash);
    }