Ejemplo n.º 1
0
        private List <Property> GetSPSearchDocumentProperties()
        {
            List <Property> ContainerProperties = new List <Property>();

            ContainerProperties.AddRange(SPSearchProperties.GetSearchInputProperties());
            ContainerProperties.AddRange(SPSearchProperties.GetSearchResultSummaryProperties());
            ContainerProperties.AddRange(SPSearchProperties.GetSearchResultReturnProperties());
            ContainerProperties.AddRange(StandardReturns.GetStandardReturnProperties());


            return(ContainerProperties);
        }
        private List <Property> GetSPSearchProperties()
        {
            List <Property> ContainerProperties = new List <Property>();

            InputsCore = SPSearchProperties.GetCoreSearchInputProperties();
            ContainerProperties.AddRange(InputsCore);

            if (this.Configuration.AdvancedSearchOptions)
            {
                InputsAdvanced = SPSearchProperties.GetAdvancedSearchInputProperties();
                ContainerProperties.AddRange(InputsAdvanced);
            }

            ReturnSummary = SPSearchProperties.GetSearchResultSummaryProperties();
            ContainerProperties.AddRange(ReturnSummary);

            ReturnSearch = SPSearchProperties.GetContentSearchResultsProperties();
            ContainerProperties.AddRange(ReturnSearch);

            ReturnStatus = StandardReturns.GetStandardReturnProperties();
            ContainerProperties.AddRange(ReturnStatus);

            return(ContainerProperties);
        }