EnumMapperCreateMapping Method

Augments the default mapping or generates a new one.

Definition

Namespace: MFiles.VAF.Configuration.JsonMapping.Mappers
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public JsonValueMapping CreateMapping(
	DataMemberInfo dm,
	JsonMappingAttribute mapAttr,
	JsonValueMapping mapping
)

Parameters

dm  DataMemberInfo
The data member the mapping is for.
mapAttr  JsonMappingAttribute
The data member's mapping attribute.
mapping  JsonValueMapping
The default mapping generated for the item.

Return Value

JsonValueMapping
The mapping to use.

Implements

IJsonValueMapperCreateMapping(DataMemberInfo, JsonMappingAttribute, JsonValueMapping)

See Also