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: 12.0.0
Syntax
C#
public abstract class AbstractSearchValueConverter : ISearchValueConverter

The AbstractSearchValueConverter type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractSearchValueConverter
Top
Properties
  NameDescription
Protected propertyCulture
Culture used to convert numbers to string and vice versa.
Protected propertyDecimalReplacerRegex
Gets the decimal replacer regular expression.
Protected propertyDoubleReplacerRegex
Gets the double replacer regular expression.
Protected propertyIntReplacerRegex
Gets the integer replacer regular expression.
Top
Methods
  NameDescription
Public methodConvertToString
Converts the value to a search string representation.
Public methodDateToString
Converts the date time from to its string representation
Public methodDecimalToString
Returns string representation of the decimal value.
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 methodStringToDecimal
Converts search string to the decimal value.
Public methodStringToDouble
Converts search string to the integer value.
Public methodStringToInt
Converts search string to the integer value.
Top
See Also