Class SearchQueryStringParser
Class responsible to parse the Search Query String parameter.
Inheritance
System.Object
SearchQueryStringParser
Implements
Inherited Members
Namespace: DotNetNuke.Services.Search.Internals
Assembly: DotNetNuke.dll
Syntax
public class SearchQueryStringParser : ServiceLocator<ISearchQueryStringParser, SearchQueryStringParser>, ISearchQueryStringParser
Methods
| Improve this Doc View SourceGetFactory()
Gets the service locator factory.
Declaration
protected override Func<ISearchQueryStringParser> GetFactory()
Returns
Type | Description |
---|---|
Func<ISearchQueryStringParser> | A factory function. |
Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.Search.Internals.ISearchQueryStringParser, DotNetNuke.Services.Search.Internals.SearchQueryStringParser>.GetFactory()
|
Improve this Doc
View Source
GetLastModifiedDate(String, out String)
Gets the Last Modified Date parsing the search keywords.
Declaration
public DateTime GetLastModifiedDate(string keywords, out string outputKeywords)
Parameters
Type | Name | Description |
---|---|---|
System.String | keywords | search keywords. |
System.String | outputKeywords | output keywords removing the last modified date. |
Returns
Type | Description |
---|---|
DateTime | Last Modified Date. |
GetSearchTypeList(String, out String)
Gets the list of Search Types parsing the search keywords.
Declaration
public IList<string> GetSearchTypeList(string keywords, out string outputKeywords)
Parameters
Type | Name | Description |
---|---|---|
System.String | keywords | search keywords. |
System.String | outputKeywords | output keywords removing the Search Type. |
Returns
Type | Description |
---|---|
IList<System.String> | List of Search Types. |
GetTags(String, out String)
Gets the list of tags parsing the search keywords.
Declaration
public IList<string> GetTags(string keywords, out string outputKeywords)
Parameters
Type | Name | Description |
---|---|---|
System.String | keywords | search keywords. |
System.String | outputKeywords | output keywords removing the tags. |
Returns
Type | Description |
---|---|
IList<System.String> | List of tags. |