Ejemplo n.º 1
0
        /// <summary>
        /// Add a facet to perform as part of the search.
        /// </summary>
        /// <param name="facet"></param>
        /// <returns></returns>
        public SearchBuilder Facet(AbstractFacetBuilder facet)
        {
            if (_facets == null)
            {
                _facets = new List <AbstractFacetBuilder>();
            }

            _facets.Add(facet);
            return(this);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Add a facet to perform as part of the search.
        /// </summary>
        /// <param name="facet"></param>
        /// <returns></returns>
        public SearchBuilder Facet(AbstractFacetBuilder facet)
        {
            if (_facets == null)
            {
                _facets = new List<AbstractFacetBuilder>();
            }

            _facets.Add(facet);
            return this;
        }