Class FieldValueConverter
- Namespace
- Raytha.Application.ContentItems
- Assembly
- Raytha.Application.dll
public class FieldValueConverter
- Inheritance
-
FieldValueConverter
- Inherited Members
-
Constructors
FieldValueConverter(ICurrentOrganization)
public FieldValueConverter(ICurrentOrganization currentOrganization)
Parameters
currentOrganization
ICurrentOrganization
Methods
MapRelatedContentItemValueForField(BaseFieldType, dynamic, ContentTypeFieldDto)
public string MapRelatedContentItemValueForField(BaseFieldType fieldType, dynamic content, ContentTypeFieldDto contentTypeField)
Parameters
fieldType
BaseFieldType
content
dynamic
contentTypeField
ContentTypeFieldDto
Returns
- string
MapToListItemValues(ContentItemDto, string)
public Dictionary<string, string> MapToListItemValues(ContentItemDto item, string templateLabel)
Parameters
item
ContentItemDto
templateLabel
string
Returns
- Dictionary<string, string>
MapValueForChoiceField(BaseFieldType, dynamic, ContentTypeFieldDto, ContentTypeFieldChoice)
public string MapValueForChoiceField(BaseFieldType fieldType, dynamic content, ContentTypeFieldDto contentTypeField, ContentTypeFieldChoice contentTypeFieldChoice)
Parameters
fieldType
BaseFieldType
content
dynamic
contentTypeField
ContentTypeFieldDto
contentTypeFieldChoice
ContentTypeFieldChoice
Returns
- string
MapValueForField(BaseFieldType, dynamic, ContentTypeFieldDto)
public string MapValueForField(BaseFieldType fieldType, dynamic content, ContentTypeFieldDto contentTypeField)
Parameters
fieldType
BaseFieldType
content
dynamic
contentTypeField
ContentTypeFieldDto
Returns
- string