Click or drag to resize
AbstractSearchValueConverter Class
Base class for search value converter
Inheritance Hierarchy

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax
C#
public abstract class AbstractSearchValueConverter : ISearchValueConverter

The AbstractSearchValueConverter type exposes the following members.

Constructors
Methods
  NameDescription
Public methodConvertToString
Converts the value to a search string representation.
Public methodDateToString
Converts the date time from to its string representation
Public methodDoubleToString
Returns string representation of the double value. Returned value has always uniform format.
Public methodIntToString
Returns string representation of the integer value. Returned value has always uniform format.
Public methodReplaceNumbers
Replaces the number expressions within the given condition
Public methodStringToDate
Converts the string representation of the date time from searched document to a date time
Public methodStringToDouble
Converts search string to the integer value.
Public methodStringToInt
Converts search string to the integer value.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Protected propertyCulture
Culture used for converting numbers to string and vice versa.
Protected propertyDoubleReplacerRegex
Gets the double replacer regular expression.
Protected propertyIntReplacerRegex
Gets the integer replacer regular expression.
Top
See Also