Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <remarks></remarks>
        /// <seealso cref=""/>
        public static void Reset()
        {
            isLoaded  = false;
            configXML = null;
            _Reader   = BexisIndexSearcher.getIndexReader();

            sIO = new searchInitObjects();

            AllFacetsDefault     = sIO.AllFacets;
            AllPropertiesDefault = sIO.AllProperties;
            AllCategoriesDefault = sIO.AllCategories;

            numericProperties = new HashSet <string>();

            facetXmlNodeList      = new List <XmlNode>();
            propertyXmlNodeList   = new List <XmlNode>();
            categoryXmlNodeList   = new List <XmlNode>();
            generalXmlNodeList    = new List <XmlNode>();
            headerItemXmlNodeList = new List <XmlNode>();
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        /// <remarks></remarks>
        /// <seealso cref=""/>
        /// <param>NA</param>
        /// <returns></returns>
        public static IEnumerable <Property> getPropertiesCopy()
        {
            searchInitObjects sIOCopy = DeepCopy <searchInitObjects>(sIO);

            return(sIOCopy.AllProperties);
        }
Example #3
0
        /// <summary>
        ///
        /// </summary>
        /// <remarks></remarks>
        /// <seealso cref=""/>
        /// <param>NA</param>
        /// <returns></returns>
        public static IEnumerable <Category> getCategoriesCopy()
        {
            searchInitObjects sIOCopy = DeepCopy <searchInitObjects>(sIO);

            return(sIOCopy.AllCategories);
        }
Example #4
0
        /// <summary>
        ///
        /// </summary>
        /// <remarks></remarks>
        /// <seealso cref=""/>
        /// <param>NA</param>
        /// <returns></returns>
        public static IEnumerable <Facet> getFacetsCopy()
        {
            searchInitObjects sIOCopy = DeepCopy <searchInitObjects>(sIO);

            return(sIOCopy.AllFacets);
        }