//Set some default values public SearchParameters() { LocationIndexManager locationIndexManager = new LocationIndexManager(); this.SearchProperties = new List <SearchProperty> { new SearchProperty(locationIndexManager.AllDataFieldName) }; this.IndexTypes = new List <string> { locationIndexManager.IndexTypeName }; this.SearchProvider = locationIndexManager.uLocateLocationSearcher().Name; }