Click or drag to resize
ConversionService Class
Service which converts object to specific types
Inheritance Hierarchy
SystemObject
  CMS.HelpersConversionService

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public class ConversionService : IConversionService

The ConversionService type exposes the following members.

Constructors
  NameDescription
Public methodConversionService
Top
Methods
  NameDescription
Public methodGetBoolean
Returns the boolean representation of an object or default value if not.
Public methodGetCodeName
Gets the code name created from the given string.
Public methodGetDateTime
Returns the DateTime representation of an object or default value if not.
Public methodGetDecimal
Returns the decimal representation of an object or default value if not.
Public methodGetDouble
Returns the double representation of an object or default value if not.
Public methodGetGuid
Returns the guid representation of an object or default value if not.
Public methodGetIdentifier
Gets the identifier created from the given name
Public methodGetInteger
Returns the integer representation of an object or default value if not.
Public methodGetString
Returns the string representation of an object or default value if not.
Public methodGetValueT
Converts the value to specified type. If the value is null, default value is used.
Top
See Also