DefaultAVPFormatter Class |
Namespace: Omada.OE.Model
public class DefaultAVPFormatter : IAVPFormatter
The DefaultAVPFormatter type exposes the following members.
| Name | Description | |
|---|---|---|
| DefaultAVPFormatter |
| Name | Description | |
|---|---|---|
| AddPropertyValues | ||
| GetAttributeValuePairs |
The method returns AVP attributes and values for the property values of a single data object.
Property values are only included, if the direction, specified on the data object type, is Out or InOut.
In addition to property values a number of other attributes are added:
- _Action, _ID, _DataObjectType and _DisplayName are always added
- If additional attributes has been added to the data object (using IObjectWithAttributes) these are added as well.
The returned attributes have the format: "[attribute name]: [attribute value]"
For a property value the attribute name is the system name of the property.
| |
| GetPropertyAVPValues |
| Name | Description | |
|---|---|---|
| ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) | |
| ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) | |
| ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
| Name | Description | |
|---|---|---|
| IAVPFormatterGetAttributeValuePairs |