[ROOT] / doc / toc / ARCCore / Class / PValue<T> / ConvertObjectToString / __TOCDet
Key | Value |
---|---|
Assembly | ARCCore |
DocFragType | ClassMember |
IsInherited | -False- |
IsInheritedDoc | -False- |
Lines | -15- |
Name | ConvertObjectToString |
Namespace | ARCCore |
Type | PValue<T> |
ClassMemberAttribute
Key | Value |
---|---|
DeclaringType | PValue<T> |
MethodName | ConvertObjectToString |
MethodSignature | System.String ConvertObjectToString(System.Object) |
Converts object to string.
Uses decimal digits for double with full stop as decimal point, like '1.23'.
Uses ToStringDateAndTime for DateTime objects (but 'yyyy-MM-dd' if no time-of-day is 00:00:00.000').
Uses ToStringWithMS for DateTime objects.
Uses ToStringShort for Type objects.
For other object types the general ToString method is used.
Note: See also the concept of FunctionKey in ARCQuery which can also be used for formatting objects.
TODO: Add more object types here (or (even better) find a more generic approach to the general issue of converting objects to string in AgoRapide)
TODO: AND / OR, Implement some kind of format-description in PK in order to decide string-format
TOOD: (the last idea would require PK as a key here).
TODO: Move this method out of this generic class (PValue<T>), calling it requires a genetic type parameter now.
Generated 2025-03-31 11:59:29.673 UTC